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

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

Issue 2707243006: [SharedArrayBuffer] Prevent SharedArrayBuffer being used in Web APIs (Closed)
Patch Set: update comment, add TODO 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/templates/dictionary_impl.cpp.tmpl
diff --git a/third_party/WebKit/Source/bindings/templates/dictionary_impl.cpp.tmpl b/third_party/WebKit/Source/bindings/templates/dictionary_impl.cpp.tmpl
index f9865bb7afa4f63cf8ebbfdfecbed1ec94f3f9f8..dc7b9aff47ede59710d845b9fe5efe49120bc637 100644
--- a/third_party/WebKit/Source/bindings/templates/dictionary_impl.cpp.tmpl
+++ b/third_party/WebKit/Source/bindings/templates/dictionary_impl.cpp.tmpl
@@ -33,7 +33,7 @@ bool {{cpp_class}}::{{member.has_method_name}}() const {
return {{member.getter_expression}};
}
void {{cpp_class}}::{{member.setter_name}}({{member.rvalue_cpp_type}} value) {
- m_{{member.cpp_name}} = value;
+ m_{{member.cpp_name}} = {{member.setter_value}};
{% if member.nullable_indicator_name %}
{{member.nullable_indicator_name}} = true;
{% endif %}

Powered by Google App Engine
This is Rietveld 408576698