Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(549)

Unified Diff: gin/try_catch.cc

Issue 1112923003: Replace Handle<> with Local in remaining gin/* (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Created 5 years, 8 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
« no previous file with comments | « gin/test/gtest.cc ('k') | gin/wrappable.h » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: gin/try_catch.cc
diff --git a/gin/try_catch.cc b/gin/try_catch.cc
index a44e28e9fe53c90675852e87baf29945e075d11c..97e7fe15f832b33af9d5648152c2f4986a0f137b 100644
--- a/gin/try_catch.cc
+++ b/gin/try_catch.cc
@@ -26,17 +26,17 @@ std::string TryCatch::GetStackTrace() {
}
std::stringstream ss;
- v8::Handle<v8::Message> message = try_catch_.Message();
+ v8::Local<v8::Message> message = try_catch_.Message();
ss << V8ToString(message->Get()) << std::endl
<< V8ToString(message->GetSourceLine()) << std::endl;
- v8::Handle<v8::StackTrace> trace = message->GetStackTrace();
+ v8::Local<v8::StackTrace> trace = message->GetStackTrace();
if (trace.IsEmpty())
return ss.str();
int len = trace->GetFrameCount();
for (int i = 0; i < len; ++i) {
- v8::Handle<v8::StackFrame> frame = trace->GetFrame(i);
+ v8::Local<v8::StackFrame> frame = trace->GetFrame(i);
ss << V8ToString(frame->GetScriptName()) << ":"
<< frame->GetLineNumber() << ":"
<< frame->GetColumn() << ": "
« no previous file with comments | « gin/test/gtest.cc ('k') | gin/wrappable.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698