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

Unified Diff: Source/core/html/HTMLCanvasElement.cpp

Issue 1115553002: Removing blink::prefix (Closed) Base URL: https://chromium.googlesource.com/chromium/blink.git@master
Patch Set: Rebase Created 5 years, 8 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/core/html/HTMLAnchorElement.cpp ('k') | Source/core/html/HTMLDetailsElement.cpp » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: Source/core/html/HTMLCanvasElement.cpp
diff --git a/Source/core/html/HTMLCanvasElement.cpp b/Source/core/html/HTMLCanvasElement.cpp
index 493993eca4b00d1e8096751cba398776fcd077a3..9f881c7670d8b06721fd381615da8a8c5888987d 100644
--- a/Source/core/html/HTMLCanvasElement.cpp
+++ b/Source/core/html/HTMLCanvasElement.cpp
@@ -221,7 +221,7 @@ void HTMLCanvasElement::getContext(const String& type, const CanvasContextCreati
if (m_context && !m_context->is2d())
return;
if (!m_context) {
- blink::Platform::current()->histogramEnumeration("Canvas.ContextType", Context2d, ContextTypeCount);
+ Platform::current()->histogramEnumeration("Canvas.ContextType", Context2d, ContextTypeCount);
m_context = CanvasRenderingContext2D::create(this, attributes, document());
setNeedsCompositingUpdate();
@@ -244,7 +244,7 @@ void HTMLCanvasElement::getContext(const String& type, const CanvasContextCreati
if (is3dContext) {
if (!m_context) {
- blink::Platform::current()->histogramEnumeration("Canvas.ContextType", contextType, ContextTypeCount);
+ Platform::current()->histogramEnumeration("Canvas.ContextType", contextType, ContextTypeCount);
if (contextType == ContextWebgl2) {
m_context = WebGL2RenderingContext::create(this, attributes);
} else {
@@ -553,7 +553,7 @@ bool HTMLCanvasElement::shouldAccelerate(const IntSize& size) const
if (size.width() * size.height() < settings->minimumAccelerated2dCanvasSize())
return false;
- if (!blink::Platform::current()->canAccelerate2dCanvas())
+ if (!Platform::current()->canAccelerate2dCanvas())
return false;
return true;
« no previous file with comments | « Source/core/html/HTMLAnchorElement.cpp ('k') | Source/core/html/HTMLDetailsElement.cpp » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698