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

Unified Diff: Source/bindings/v8/V8Binding.cpp

Issue 23477075: Rename isolateFor*() utility functions to toIsolate() (Closed) Base URL: svn://svn.chromium.org/blink/trunk
Patch Set: Rebase on master 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 side-by-side diff with in-line comments
Download patch
« no previous file with comments | « Source/bindings/v8/V8Binding.h ('k') | Source/bindings/v8/V8CustomElementLifecycleCallbacks.cpp » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: Source/bindings/v8/V8Binding.cpp
diff --git a/Source/bindings/v8/V8Binding.cpp b/Source/bindings/v8/V8Binding.cpp
index d56bffe2c53613af7a8895471534f9cb610baecd..9ae23007b1952d96529e8bc16a7545a79d74e499 100644
--- a/Source/bindings/v8/V8Binding.cpp
+++ b/Source/bindings/v8/V8Binding.cpp
@@ -591,7 +591,7 @@ v8::Local<v8::Value> getHiddenValueFromMainWorldWrapper(v8::Isolate* isolate, Sc
return wrapper.IsEmpty() ? v8::Local<v8::Value>() : wrapper->GetHiddenValue(key);
}
-v8::Isolate* isolateForScriptExecutionContext(ScriptExecutionContext* context)
+v8::Isolate* toIsolate(ScriptExecutionContext* context)
{
if (context && context->isDocument()) {
static v8::Isolate* mainWorldIsolate = 0;
@@ -602,7 +602,7 @@ v8::Isolate* isolateForScriptExecutionContext(ScriptExecutionContext* context)
return v8::Isolate::GetCurrent();
}
-v8::Isolate* isolateForFrame(Frame* frame)
+v8::Isolate* toIsolate(Frame* frame)
{
return frame->script()->isolate();
}
« no previous file with comments | « Source/bindings/v8/V8Binding.h ('k') | Source/bindings/v8/V8CustomElementLifecycleCallbacks.cpp » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698