OLD | NEW |
1 /* | 1 /* |
2 * Copyright (C) 2009 Google Inc. All rights reserved. | 2 * Copyright (C) 2009 Google Inc. All rights reserved. |
3 * Copyright (C) 2014 Opera Software ASA. All rights reserved. | 3 * Copyright (C) 2014 Opera Software ASA. All rights reserved. |
4 * | 4 * |
5 * Redistribution and use in source and binary forms, with or without | 5 * Redistribution and use in source and binary forms, with or without |
6 * modification, are permitted provided that the following conditions are | 6 * modification, are permitted provided that the following conditions are |
7 * met: | 7 * met: |
8 * | 8 * |
9 * * Redistributions of source code must retain the above copyright | 9 * * Redistributions of source code must retain the above copyright |
10 * notice, this list of conditions and the following disclaimer. | 10 * notice, this list of conditions and the following disclaimer. |
(...skipping 145 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
156 .ToLocal(&retVal)) | 156 .ToLocal(&retVal)) |
157 return; | 157 return; |
158 v8SetReturnValue(info, retVal); | 158 v8SetReturnValue(info, retVal); |
159 } | 159 } |
160 | 160 |
161 } // namespace | 161 } // namespace |
162 | 162 |
163 void V8HTMLEmbedElement::legacyCallCustom( | 163 void V8HTMLEmbedElement::legacyCallCustom( |
164 const v8::FunctionCallbackInfo<v8::Value>& info) { | 164 const v8::FunctionCallbackInfo<v8::Value>& info) { |
165 invokeOnScriptableObject<V8HTMLEmbedElement>(info); | 165 invokeOnScriptableObject<V8HTMLEmbedElement>(info); |
166 Deprecation::countDeprecationIfNotPrivateScript( | 166 Deprecation::countDeprecation(currentExecutionContext(info.GetIsolate()), |
167 info.GetIsolate(), currentExecutionContext(info.GetIsolate()), | 167 UseCounter::HTMLEmbedElementLegacyCall); |
168 UseCounter::HTMLEmbedElementLegacyCall); | |
169 } | 168 } |
170 | 169 |
171 void V8HTMLObjectElement::legacyCallCustom( | 170 void V8HTMLObjectElement::legacyCallCustom( |
172 const v8::FunctionCallbackInfo<v8::Value>& info) { | 171 const v8::FunctionCallbackInfo<v8::Value>& info) { |
173 invokeOnScriptableObject<V8HTMLObjectElement>(info); | 172 invokeOnScriptableObject<V8HTMLObjectElement>(info); |
174 Deprecation::countDeprecationIfNotPrivateScript( | 173 Deprecation::countDeprecation(currentExecutionContext(info.GetIsolate()), |
175 info.GetIsolate(), currentExecutionContext(info.GetIsolate()), | 174 UseCounter::HTMLObjectElementLegacyCall); |
176 UseCounter::HTMLObjectElementLegacyCall); | |
177 } | 175 } |
178 | 176 |
179 } // namespace blink | 177 } // namespace blink |
OLD | NEW |