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

Side by Side Diff: Source/web/WebDevToolsFrontendImpl.cpp

Issue 23470004: Have handleMaxRecursionDepthExceeded() take an isolate in argument (Closed) Base URL: svn://svn.chromium.org/blink/trunk
Patch Set: Created 7 years, 3 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 unified diff | Download patch | Annotate | Revision Log
OLDNEW
1 /* 1 /*
2 * Copyright (C) 2010 Google Inc. All rights reserved. 2 * Copyright (C) 2010 Google Inc. All rights reserved.
3 * 3 *
4 * Redistribution and use in source and binary forms, with or without 4 * Redistribution and use in source and binary forms, with or without
5 * modification, are permitted provided that the following conditions are 5 * modification, are permitted provided that the following conditions are
6 * met: 6 * met:
7 * 7 *
8 * * Redistributions of source code must retain the above copyright 8 * * Redistributions of source code must retain the above copyright
9 * notice, this list of conditions and the following disclaimer. 9 * notice, this list of conditions and the following disclaimer.
10 * * Redistributions in binary form must reproduce the above 10 * * Redistributions in binary form must reproduce the above
(...skipping 156 matching lines...) Expand 10 before | Expand all | Expand 10 after
167 dispatcherObject = v8::Handle<v8::Object>::Cast(inspectorBackendApiValue ); 167 dispatcherObject = v8::Handle<v8::Object>::Cast(inspectorBackendApiValue );
168 dispatchFunction = dispatcherObject->Get(v8::String::New("dispatch")); 168 dispatchFunction = dispatcherObject->Get(v8::String::New("dispatch"));
169 if (!dispatchFunction->IsFunction()) 169 if (!dispatchFunction->IsFunction())
170 return; 170 return;
171 } 171 }
172 v8::Handle<v8::Function> function = v8::Handle<v8::Function>::Cast(dispatchF unction); 172 v8::Handle<v8::Function> function = v8::Handle<v8::Function>::Cast(dispatchF unction);
173 Vector< v8::Handle<v8::Value> > args; 173 Vector< v8::Handle<v8::Value> > args;
174 args.append(v8String(message, isolate)); 174 args.append(v8String(message, isolate));
175 v8::TryCatch tryCatch; 175 v8::TryCatch tryCatch;
176 tryCatch.SetVerbose(true); 176 tryCatch.SetVerbose(true);
177 ScriptController::callFunctionWithInstrumentation(frame->frame() ? frame->fr ame()->document() : 0, function, dispatcherObject, args.size(), args.data()); 177 ScriptController::callFunctionWithInstrumentation(frame->frame() ? frame->fr ame()->document() : 0, function, dispatcherObject, args.size(), args.data(), iso late);
178 } 178 }
179 179
180 } // namespace WebKit 180 } // namespace WebKit
OLDNEW
« Source/bindings/v8/V8ScriptRunner.cpp ('K') | « Source/bindings/v8/custom/V8PromiseCustom.cpp ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698