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

Unified Diff: third_party/WebKit/Source/bindings/core/v8/ScriptState.cpp

Issue 2823473002: Remove ScriptState::GetFromExtrasExports (Closed)
Patch Set: Rebase, remove unused var Created 3 years, 8 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: third_party/WebKit/Source/bindings/core/v8/ScriptState.cpp
diff --git a/third_party/WebKit/Source/bindings/core/v8/ScriptState.cpp b/third_party/WebKit/Source/bindings/core/v8/ScriptState.cpp
index d8151fccc83f9bdded4b16785a3b7f4975bd8646..25632335ca9d8c9ace70fc174f3e07a5ad0e9baa 100644
--- a/third_party/WebKit/Source/bindings/core/v8/ScriptState.cpp
+++ b/third_party/WebKit/Source/bindings/core/v8/ScriptState.cpp
@@ -53,15 +53,4 @@ void ScriptState::DisposePerContextData() {
per_context_data_ = nullptr;
}
-ScriptValue ScriptState::GetFromExtrasExports(const char* name) {
- v8::HandleScope handle_scope(isolate_);
- v8::Local<v8::Value> v8_value;
- if (!GetContext()
- ->GetExtrasBindingObject()
- ->Get(GetContext(), V8AtomicString(GetIsolate(), name))
- .ToLocal(&v8_value))
- return ScriptValue();
- return ScriptValue(this, v8_value);
-}
-
} // namespace blink
« no previous file with comments | « third_party/WebKit/Source/bindings/core/v8/ScriptState.h ('k') | third_party/WebKit/Source/bindings/core/v8/V8ScriptRunner.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698