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

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

Issue 1013413002: [bindings] Refactor ScriptStateForTesting, V8TestingScope into V8BindingForTesting.h/cpp (Closed) Base URL: https://chromium.googlesource.com/chromium/blink.git@master
Patch Set: Combined all testing files into one! Created 5 years, 9 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/ScriptState.h
diff --git a/Source/bindings/core/v8/ScriptState.h b/Source/bindings/core/v8/ScriptState.h
index fb0abd7799215ef1ee1612b567f1487bc0cb7bb1..0d7cbd7edebfe81e96d614813786fff622cb4afa 100644
--- a/Source/bindings/core/v8/ScriptState.h
+++ b/Source/bindings/core/v8/ScriptState.h
@@ -117,19 +117,6 @@ private:
Vector<Observer*> m_observers;
};
-class ScriptStateForTesting : public ScriptState {
-public:
- static PassRefPtr<ScriptStateForTesting> create(v8::Handle<v8::Context>, PassRefPtr<DOMWrapperWorld>);
-
- virtual ExecutionContext* executionContext() const override;
- virtual void setExecutionContext(ExecutionContext*) override;
-
-private:
- ScriptStateForTesting(v8::Handle<v8::Context>, PassRefPtr<DOMWrapperWorld>);
-
- ExecutionContext* m_executionContext;
-};
-
// ScriptStateProtectingContext keeps the context associated with the ScriptState alive.
// You need to call clear() once you no longer need the context. Otherwise, the context will leak.
class ScriptStateProtectingContext {

Powered by Google App Engine
This is Rietveld 408576698