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

Unified Diff: Source/bindings/v8/custom/V8WebGLRenderingContextBaseCustom.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
« no previous file with comments | « Source/bindings/v8/custom/V8PannerNodeCustom.cpp ('k') | Source/bindings/v8/custom/V8WindowCustom.cpp » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: Source/bindings/v8/custom/V8WebGLRenderingContextBaseCustom.cpp
diff --git a/Source/bindings/v8/custom/V8WebGLRenderingContextBaseCustom.cpp b/Source/bindings/v8/custom/V8WebGLRenderingContextBaseCustom.cpp
index e84f94b7dfcb8cf911468ca8272109687258b68f..cb3a2b5637eeae40c71f432cbee51f153c1af895 100644
--- a/Source/bindings/v8/custom/V8WebGLRenderingContextBaseCustom.cpp
+++ b/Source/bindings/v8/custom/V8WebGLRenderingContextBaseCustom.cpp
@@ -352,14 +352,14 @@ void V8WebGLRenderingContextBase::getBufferParameterMethodCustom(const v8::Funct
void V8WebGLRenderingContextBase::getExtensionMethodCustom(const v8::FunctionCallbackInfo<v8::Value>& info)
{
ExceptionState exceptionState(ExceptionState::ExecutionContext, "getExtension", "WebGLRenderingContextBase", info.Holder(), info.GetIsolate());
- WebGLRenderingContextBase* imp = V8WebGLRenderingContextBase::toNative(info.Holder());
+ WebGLRenderingContextBase* impl = V8WebGLRenderingContextBase::toNative(info.Holder());
if (info.Length() < 1) {
exceptionState.throwTypeError(ExceptionMessages::notEnoughArguments(1, info.Length()));
exceptionState.throwIfNeeded();
return;
}
V8TRYCATCH_FOR_V8STRINGRESOURCE_VOID(V8StringResource<>, name, info[0]);
- RefPtr<WebGLExtension> extension(imp->getExtension(name));
+ RefPtr<WebGLExtension> extension(impl->getExtension(name));
v8SetReturnValue(info, toV8Object(extension.get(), info.Holder(), info.GetIsolate()));
}
@@ -457,13 +457,13 @@ void V8WebGLRenderingContextBase::getShaderParameterMethodCustom(const v8::Funct
void V8WebGLRenderingContextBase::getSupportedExtensionsMethodCustom(const v8::FunctionCallbackInfo<v8::Value>& info)
{
- WebGLRenderingContextBase* imp = V8WebGLRenderingContextBase::toNative(info.Holder());
- if (imp->isContextLost()) {
+ WebGLRenderingContextBase* impl = V8WebGLRenderingContextBase::toNative(info.Holder());
+ if (impl->isContextLost()) {
v8SetReturnValueNull(info);
return;
}
- Vector<String> value = imp->getSupportedExtensions();
+ Vector<String> value = impl->getSupportedExtensions();
v8::Local<v8::Array> array = v8::Array::New(info.GetIsolate(), value.size());
for (size_t ii = 0; ii < value.size(); ++ii)
array->Set(v8::Integer::New(info.GetIsolate(), ii), v8String(info.GetIsolate(), value[ii]));
« no previous file with comments | « Source/bindings/v8/custom/V8PannerNodeCustom.cpp ('k') | Source/bindings/v8/custom/V8WindowCustom.cpp » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698