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

Unified Diff: Source/bindings/v8/ScriptState.h

Issue 307933011: Fix test failures of IDBTransactionTest.EnsureLifetime with ENABLE(OILPAN) (Closed) Base URL: svn://svn.chromium.org/blink/trunk
Patch Set: Created 6 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
« no previous file with comments | « no previous file | Source/bindings/v8/ScriptState.cpp » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: Source/bindings/v8/ScriptState.h
diff --git a/Source/bindings/v8/ScriptState.h b/Source/bindings/v8/ScriptState.h
index 1387b299dff03a6b3971902e863b0546dabd6f67..621585fce7782f49a0ae026b1e34219adb123b4e 100644
--- a/Source/bindings/v8/ScriptState.h
+++ b/Source/bindings/v8/ScriptState.h
@@ -70,7 +70,7 @@ public:
DOMWrapperWorld& world() const { return *m_world; }
DOMWindow* domWindow() const;
virtual ExecutionContext* executionContext() const;
- virtual void setExecutionContext(PassRefPtr<ExecutionContext>);
+ virtual void setExecutionContext(ExecutionContext*);
// This can return an empty handle if the v8::Context is gone.
v8::Handle<v8::Context> context() const { return m_context.newLocal(m_isolate); }
@@ -107,12 +107,12 @@ public:
static PassRefPtr<ScriptStateForTesting> create(v8::Handle<v8::Context>, PassRefPtr<DOMWrapperWorld>);
virtual ExecutionContext* executionContext() const OVERRIDE;
- virtual void setExecutionContext(PassRefPtr<ExecutionContext>) OVERRIDE;
+ virtual void setExecutionContext(ExecutionContext*) OVERRIDE;
private:
ScriptStateForTesting(v8::Handle<v8::Context>, PassRefPtr<DOMWrapperWorld>);
- RefPtr<ExecutionContext> m_executionContext;
+ ExecutionContext* m_executionContext;
};
// ScriptStateProtectingContext keeps the context associated with the ScriptState alive.
« no previous file with comments | « no previous file | Source/bindings/v8/ScriptState.cpp » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698