Rietveld Code Review Tool
Help | Bug tracker | Discussion group | Source code

Unified Diff: src/Utils.cpp

Issue 6193234183192576: Issue 1197 - change local copy of v8 (to 4.3.15) to work with Visual Studio 2013 (Closed)
Patch Set: rebase and update Created May 17, 2016, 3:18 p.m.
Use n/p to move between diff chunks; N/P to move between comments.
Jump to:
View side-by-side diff with in-line comments
Download patch
« no previous file with comments | « src/Utils.h ('k') | src/WebRequestJsObject.cpp » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: src/Utils.cpp
diff --git a/src/Utils.cpp b/src/Utils.cpp
index 1020ec5b6334a1bd293cdb3ef353fd858ae8d633..6e47d6ef9eed03c02cf8683d69b1604435f0fc64 100644
--- a/src/Utils.cpp
+++ b/src/Utils.cpp
@@ -49,6 +49,10 @@ v8::Local<v8::String> Utils::ToV8String(v8::Isolate* isolate, const std::string&
v8::String::NewStringType::kNormalString, str.length());
}
+void Utils::ThrowException(v8::Isolate* isolate, const std::string& str)
+{
+ isolate->ThrowException(Utils::ToV8String(isolate, str));
+}
#ifdef _WIN32
std::wstring Utils::ToUtf16String(const std::string& str)
« no previous file with comments | « src/Utils.h ('k') | src/WebRequestJsObject.cpp » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld