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

Unified Diff: Source/bindings/v8/custom/V8NodeCustom.cpp

Issue 202203009: Rename |imp| => |impl| in bindings generation (Closed) Base URL: svn://svn.chromium.org/blink/trunk
Patch Set: custom/v8 too Created 6 years, 9 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/v8/custom/V8NodeCustom.cpp
diff --git a/Source/bindings/v8/custom/V8NodeCustom.cpp b/Source/bindings/v8/custom/V8NodeCustom.cpp
index bde8861d4b20da1e28e979c2938b8659333f14d3..572f500b7a05bdd77e99632ed8c08eb10a7358c5 100644
--- a/Source/bindings/v8/custom/V8NodeCustom.cpp
+++ b/Source/bindings/v8/custom/V8NodeCustom.cpp
@@ -61,14 +61,14 @@ namespace WebCore {
void V8Node::insertBeforeMethodCustom(const v8::FunctionCallbackInfo<v8::Value>& info)
{
v8::Handle<v8::Object> holder = info.Holder();
- Node* imp = V8Node::toNative(holder);
+ Node* impl = V8Node::toNative(holder);
CustomElementCallbackDispatcher::CallbackDeliveryScope deliveryScope;
ExceptionState exceptionState(ExceptionState::ExecutionContext, "insertBefore", "Node", info.Holder(), info.GetIsolate());
Node* newChild = V8Node::toNativeWithTypeCheck(info.GetIsolate(), info[0]);
Node* refChild = V8Node::toNativeWithTypeCheck(info.GetIsolate(), info[1]);
- imp->insertBefore(newChild, refChild, exceptionState);
+ impl->insertBefore(newChild, refChild, exceptionState);
if (exceptionState.throwIfNeeded())
return;
v8SetReturnValue(info, info[0]);
@@ -77,14 +77,14 @@ void V8Node::insertBeforeMethodCustom(const v8::FunctionCallbackInfo<v8::Value>&
void V8Node::replaceChildMethodCustom(const v8::FunctionCallbackInfo<v8::Value>& info)
{
v8::Handle<v8::Object> holder = info.Holder();
- Node* imp = V8Node::toNative(holder);
+ Node* impl = V8Node::toNative(holder);
CustomElementCallbackDispatcher::CallbackDeliveryScope deliveryScope;
ExceptionState exceptionState(ExceptionState::ExecutionContext, "replaceChild", "Node", info.Holder(), info.GetIsolate());
Node* newChild = V8Node::toNativeWithTypeCheck(info.GetIsolate(), info[0]);
Node* oldChild = V8Node::toNativeWithTypeCheck(info.GetIsolate(), info[1]);
- imp->replaceChild(newChild, oldChild, exceptionState);
+ impl->replaceChild(newChild, oldChild, exceptionState);
if (exceptionState.throwIfNeeded())
return;
v8SetReturnValue(info, info[1]);
@@ -93,13 +93,13 @@ void V8Node::replaceChildMethodCustom(const v8::FunctionCallbackInfo<v8::Value>&
void V8Node::removeChildMethodCustom(const v8::FunctionCallbackInfo<v8::Value>& info)
{
v8::Handle<v8::Object> holder = info.Holder();
- Node* imp = V8Node::toNative(holder);
+ Node* impl = V8Node::toNative(holder);
CustomElementCallbackDispatcher::CallbackDeliveryScope deliveryScope;
ExceptionState exceptionState(ExceptionState::ExecutionContext, "removeChild", "Node", info.Holder(), info.GetIsolate());
Node* oldChild = V8Node::toNativeWithTypeCheck(info.GetIsolate(), info[0]);
- imp->removeChild(oldChild, exceptionState);
+ impl->removeChild(oldChild, exceptionState);
if (exceptionState.throwIfNeeded())
return;
v8SetReturnValue(info, info[0]);
@@ -108,13 +108,13 @@ void V8Node::removeChildMethodCustom(const v8::FunctionCallbackInfo<v8::Value>&
void V8Node::appendChildMethodCustom(const v8::FunctionCallbackInfo<v8::Value>& info)
{
v8::Handle<v8::Object> holder = info.Holder();
- Node* imp = V8Node::toNative(holder);
+ Node* impl = V8Node::toNative(holder);
CustomElementCallbackDispatcher::CallbackDeliveryScope deliveryScope;
ExceptionState exceptionState(ExceptionState::ExecutionContext, "appendChild", "Node", info.Holder(), info.GetIsolate());
Node* newChild = V8Node::toNativeWithTypeCheck(info.GetIsolate(), info[0]);
- imp->appendChild(newChild, exceptionState);
+ impl->appendChild(newChild, exceptionState);
if (exceptionState.throwIfNeeded())
return;
v8SetReturnValue(info, info[0]);
« no previous file with comments | « Source/bindings/v8/custom/V8HTMLPlugInElementCustom.cpp ('k') | Source/bindings/v8/custom/V8OscillatorNodeCustom.cpp » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698