| 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 b235049b6175ad9973c0f144210d0197a75163f8..3f614943fea1dfa8c31f97df1aa8d1b1597a3865 100644
|
| --- a/third_party/WebKit/Source/bindings/templates/attributes.cpp.tmpl
|
| +++ b/third_party/WebKit/Source/bindings/templates/attributes.cpp.tmpl
|
| @@ -63,7 +63,7 @@ const v8::FunctionCallbackInfo<v8::Value>& info
|
| V8PrivateProperty::Symbol propertySymbol =
|
| V8PrivateProperty::GetSymbol(info.GetIsolate(),
|
| "{{cpp_class}}#{{attribute.name.capitalize()}}");
|
| - if (!impl->{{attribute.cached_attribute_validation_method}}()) {
|
| + if (!static_cast<const {{cpp_class}}*>(impl)->{{attribute.cached_attribute_validation_method}}()) {
|
| v8::Local<v8::Value> v8Value = propertySymbol.GetOrUndefined(holder);
|
| if (!v8Value->IsUndefined()) {
|
| V8SetReturnValue(info, v8Value);
|
|
|