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

Unified Diff: third_party/WebKit/Source/bindings/templates/attributes.cpp.tmpl

Issue 2863443002: Implement and ship PushManager.supportedContentEncodings (Closed)
Patch Set: Implement and ship PushManager.supportedContentEncodings Created 3 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
Index: third_party/WebKit/Source/bindings/templates/attributes.cpp.tmpl
diff --git a/third_party/WebKit/Source/bindings/templates/attributes.cpp.tmpl b/third_party/WebKit/Source/bindings/templates/attributes.cpp.tmpl
index 48e4172871d40384e95f72c3b0f69462d5d9e525..b235049b6175ad9973c0f144210d0197a75163f8 100644
--- a/third_party/WebKit/Source/bindings/templates/attributes.cpp.tmpl
+++ b/third_party/WebKit/Source/bindings/templates/attributes.cpp.tmpl
@@ -20,7 +20,7 @@ const v8::FunctionCallbackInfo<v8::Value>& info
return; // Return silently because of [LenientThis].
{% endif %}
- {% if not attribute.is_static %}
+ {% if not attribute.is_static or attribute.is_save_same_object %}
v8::Local<v8::Object> holder = info.Holder();
{% endif %}

Powered by Google App Engine
This is Rietveld 408576698