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

Unified Diff: Source/bindings/core/v8/WorkerScriptController.h

Issue 1287103002: [Extension ServiceWorkers] Blink: Passing v8::context to extensions dispatcher (Closed) Base URL: https://chromium.googlesource.com/chromium/blink.git@master
Patch Set: Created 5 years, 4 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 | « no previous file | Source/core/workers/WorkerReportingProxy.h » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: Source/bindings/core/v8/WorkerScriptController.h
diff --git a/Source/bindings/core/v8/WorkerScriptController.h b/Source/bindings/core/v8/WorkerScriptController.h
index 0a2de87c634a908e9dfc96fabd085e3d2af12f17..4458bc1fd15799d31564482fc578ec61eed0f12d 100644
--- a/Source/bindings/core/v8/WorkerScriptController.h
+++ b/Source/bindings/core/v8/WorkerScriptController.h
@@ -89,11 +89,12 @@ public:
DECLARE_TRACE();
+ bool isContextInitialized() const { return m_scriptState && !!m_scriptState->perContextData(); }
+
private:
WorkerScriptController(WorkerGlobalScope*, v8::Isolate*);
class WorkerGlobalScopeExecutionState;
- bool isContextInitialized() { return m_scriptState && !!m_scriptState->perContextData(); }
v8::Isolate* isolate() const;
// Evaluate a script file in the current execution environment.
« no previous file with comments | « no previous file | Source/core/workers/WorkerReportingProxy.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698