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

Unified Diff: Source/bindings/core/v8/custom/V8HTMLOptionsCollectionCustom.cpp

Issue 537403002: bindings: Renames from/toInternalPointer, etc. (Closed) Base URL: svn://svn.chromium.org/blink/trunk
Patch Set: Synced. Created 6 years, 3 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: Source/bindings/core/v8/custom/V8HTMLOptionsCollectionCustom.cpp
diff --git a/Source/bindings/core/v8/custom/V8HTMLOptionsCollectionCustom.cpp b/Source/bindings/core/v8/custom/V8HTMLOptionsCollectionCustom.cpp
index 6088b96daa66ab4f0bdc00f44d41042296d3a892..1c4a6ec6d7e77b64abd6f39448f805c77b767787 100644
--- a/Source/bindings/core/v8/custom/V8HTMLOptionsCollectionCustom.cpp
+++ b/Source/bindings/core/v8/custom/V8HTMLOptionsCollectionCustom.cpp
@@ -49,8 +49,8 @@ void V8HTMLOptionsCollection::addMethodCustom(const v8::FunctionCallbackInfo<v8:
if (!V8HTMLOptionElement::hasInstance(info[0], info.GetIsolate())) {
exceptionState.throwTypeError("The element provided was not an HTMLOptionElement.");
} else {
- HTMLOptionsCollection* impl = V8HTMLOptionsCollection::toNative(info.Holder());
- HTMLOptionElement* option = V8HTMLOptionElement::toNative(v8::Handle<v8::Object>(v8::Handle<v8::Object>::Cast(info[0])));
+ HTMLOptionsCollection* impl = V8HTMLOptionsCollection::toImpl(info.Holder());
+ HTMLOptionElement* option = V8HTMLOptionElement::toImpl(v8::Handle<v8::Object>(v8::Handle<v8::Object>::Cast(info[0])));
if (info.Length() < 2) {
impl->add(option, exceptionState);
@@ -68,7 +68,7 @@ void V8HTMLOptionsCollection::addMethodCustom(const v8::FunctionCallbackInfo<v8:
void V8HTMLOptionsCollection::lengthAttributeSetterCustom(v8::Local<v8::Value> value, const v8::PropertyCallbackInfo<void>& info)
{
- HTMLOptionsCollection* impl = V8HTMLOptionsCollection::toNative(info.Holder());
+ HTMLOptionsCollection* impl = V8HTMLOptionsCollection::toImpl(info.Holder());
double v = value->NumberValue();
unsigned newLength = 0;
ExceptionState exceptionState(ExceptionState::SetterContext, "length", "HTMLOptionsCollection", info.Holder(), info.GetIsolate());
« no previous file with comments | « Source/bindings/core/v8/custom/V8HTMLDocumentCustom.cpp ('k') | Source/bindings/core/v8/custom/V8HTMLPlugInElementCustom.cpp » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698