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

Unified Diff: third_party/WebKit/WebCore/bindings/v8/custom/V8DocumentCustom.cpp

Issue 46097: WebKit merge 41660:41709 (WebKit side).... (Closed) Base URL: svn://chrome-svn/chrome/trunk/src/
Patch Set: Created 11 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: third_party/WebKit/WebCore/bindings/v8/custom/V8DocumentCustom.cpp
===================================================================
--- third_party/WebKit/WebCore/bindings/v8/custom/V8DocumentCustom.cpp (revision 11711)
+++ third_party/WebKit/WebCore/bindings/v8/custom/V8DocumentCustom.cpp (working copy)
@@ -88,10 +88,10 @@
INC_STATS("DOM.Document.getCSSCanvasContext");
v8::Handle<v8::Value> holder = args.Holder();
Document* imp = V8Proxy::DOMWrapperToNode<Document>(holder);
- String contextId = ToWebCoreString(args[0]);
- String name = ToWebCoreString(args[1]);
- int width = ToInt32(args[2]);
- int height = ToInt32(args[3]);
+ String contextId = toWebCoreString(args[0]);
+ String name = toWebCoreString(args[1]);
+ int width = toInt32(args[2]);
+ int height = toInt32(args[3]);
CanvasRenderingContext2D* result = imp->getCSSCanvasContext(contextId, name, width, height);
return V8Proxy::ToV8Object(V8ClassIndex::CANVASRENDERINGCONTEXT2D, result);
}

Powered by Google App Engine
This is Rietveld 408576698