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

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

Issue 1115923002: workers: Rename WorkerThread to WorkerScript. Base URL: svn://svn.chromium.org/blink/trunk
Patch Set: . Created 5 years, 7 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
Index: Source/bindings/core/v8/V8Binding.cpp
diff --git a/Source/bindings/core/v8/V8Binding.cpp b/Source/bindings/core/v8/V8Binding.cpp
index 10d5ac38f7856944db9fa912f243994c56892492..36ce0059d9847be726fbb2a1319eea815f245930 100644
--- a/Source/bindings/core/v8/V8Binding.cpp
+++ b/Source/bindings/core/v8/V8Binding.cpp
@@ -762,7 +762,7 @@ v8::Local<v8::Context> toV8Context(ExecutionContext* context, DOMWrapperWorld& w
if (LocalFrame* frame = toDocument(context)->frame())
return frame->script().windowProxy(world)->context();
} else if (context->isWorkerGlobalScope()) {
- if (WorkerScriptController* script = toWorkerGlobalScope(context)->script())
+ if (WorkerScriptController* script = toWorkerGlobalScope(context)->scriptController())
return script->context();
}
return v8::Local<v8::Context>();

Powered by Google App Engine
This is Rietveld 408576698