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

Unified Diff: third_party/WebKit/Source/bindings/templates/interface_base.cpp

Issue 1760143003: bindings: Remove the hidden prototype from HTMLDocument. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Created 4 years, 10 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 | « third_party/WebKit/Source/bindings/core/v8/WindowProxy.cpp ('k') | no next file » | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: third_party/WebKit/Source/bindings/templates/interface_base.cpp
diff --git a/third_party/WebKit/Source/bindings/templates/interface_base.cpp b/third_party/WebKit/Source/bindings/templates/interface_base.cpp
index 00c0f57115da1c6bd7dbcb82d578c92691fcb423..c242de81831bb596d08a86cca719f4f9883c814f 100644
--- a/third_party/WebKit/Source/bindings/templates/interface_base.cpp
+++ b/third_party/WebKit/Source/bindings/templates/interface_base.cpp
@@ -301,7 +301,7 @@ static void install{{v8_class}}Template(v8::Local<v8::FunctionTemplate> interfac
{% if interface_name == 'Window' %}{{newline}}
prototypeTemplate->SetInternalFieldCount(V8Window::internalFieldCount);
{% endif %}
- {% if is_global or interface_name == 'HTMLDocument' %}{{newline}}
+ {% if is_global %}{{newline}}
interfaceTemplate->SetHiddenPrototype(true);
{% endif %}
{% endif %}
« no previous file with comments | « third_party/WebKit/Source/bindings/core/v8/WindowProxy.cpp ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698