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

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

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 | « Source/bindings/v8/ScriptState.h ('k') | Source/modules/indexeddb/IDBRequestTest.cpp » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: Source/bindings/v8/ScriptState.cpp
diff --git a/Source/bindings/v8/ScriptState.cpp b/Source/bindings/v8/ScriptState.cpp
index e601de3ba374ff28b396291807bc0e7756140dd6..9112f399e6bafb7e6dc2ad019ef552f40113b6df 100644
--- a/Source/bindings/v8/ScriptState.cpp
+++ b/Source/bindings/v8/ScriptState.cpp
@@ -69,7 +69,7 @@ ExecutionContext* ScriptState::executionContext() const
return toExecutionContext(context());
}
-void ScriptState::setExecutionContext(PassRefPtr<ExecutionContext>)
+void ScriptState::setExecutionContext(ExecutionContext*)
{
ASSERT_NOT_REACHED();
}
@@ -103,10 +103,10 @@ ScriptStateForTesting::ScriptStateForTesting(v8::Handle<v8::Context> context, Pa
ExecutionContext* ScriptStateForTesting::executionContext() const
{
- return m_executionContext.get();
+ return m_executionContext;
}
-void ScriptStateForTesting::setExecutionContext(PassRefPtr<ExecutionContext> executionContext)
+void ScriptStateForTesting::setExecutionContext(ExecutionContext* executionContext)
{
m_executionContext = executionContext;
}
« no previous file with comments | « Source/bindings/v8/ScriptState.h ('k') | Source/modules/indexeddb/IDBRequestTest.cpp » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698