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

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

Issue 2571063002: Remove Blink-in-JS (Closed)
Patch Set: Created 4 years 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/V8PerContextData.cpp
diff --git a/third_party/WebKit/Source/bindings/core/v8/V8PerContextData.cpp b/third_party/WebKit/Source/bindings/core/v8/V8PerContextData.cpp
index b7d0e5aa4bb9d5b29266b307ce5fbe12fa7a251a..8b8b7f8c213bc48b14f61c07630e46f8d9b0dd02 100644
--- a/third_party/WebKit/Source/bindings/core/v8/V8PerContextData.cpp
+++ b/third_party/WebKit/Source/bindings/core/v8/V8PerContextData.cpp
@@ -48,8 +48,7 @@ V8PerContextData::V8PerContextData(v8::Local<v8::Context> context)
m_constructorMap(m_isolate),
m_contextHolder(WTF::makeUnique<gin::ContextHolder>(m_isolate)),
m_context(m_isolate, context),
- m_activityLogger(0),
- m_compiledPrivateScript(m_isolate) {
+ m_activityLogger(0) {
m_contextHolder->SetContext(context);
v8::Context::Scope contextScope(context);
@@ -175,14 +174,4 @@ void V8PerContextData::addCustomElementBinding(
m_customElementBindings.push_back(std::move(binding));
}
-v8::Local<v8::Value> V8PerContextData::compiledPrivateScript(String className) {
- return m_compiledPrivateScript.Get(className);
-}
-
-void V8PerContextData::setCompiledPrivateScript(
- String className,
- v8::Local<v8::Value> compiledObject) {
- m_compiledPrivateScript.Set(className, compiledObject);
-}
-
} // namespace blink

Powered by Google App Engine
This is Rietveld 408576698