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

Unified Diff: third_party/WebKit/Source/modules/offscreencanvas/OffscreenCanvas.cpp

Issue 1773813007: blink: Rename modules/ method to prefix with get when they collide. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: clash-modules: rebase-fixes Created 4 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/Source/modules/offscreencanvas/OffscreenCanvas.cpp
diff --git a/third_party/WebKit/Source/modules/offscreencanvas/OffscreenCanvas.cpp b/third_party/WebKit/Source/modules/offscreencanvas/OffscreenCanvas.cpp
index 1a00c5b7d8fd715632282ad437351edcc7c04d80..df103939b734876ec2e0a55e7ed0fdbbd6e213da 100644
--- a/third_party/WebKit/Source/modules/offscreencanvas/OffscreenCanvas.cpp
+++ b/third_party/WebKit/Source/modules/offscreencanvas/OffscreenCanvas.cpp
@@ -45,7 +45,7 @@ OffscreenCanvasRenderingContext2D* OffscreenCanvas::getContext(const String& id,
return nullptr;
if (m_context) {
- if (m_context->contextType() != contextType) {
+ if (m_context->getContextType() != contextType) {
factory->onError(this, "OffscreenCanvas has an existing context of a different type");
return nullptr;
}
@@ -81,7 +81,7 @@ OffscreenCanvasRenderingContextFactory* OffscreenCanvas::getRenderingContextFact
void OffscreenCanvas::registerRenderingContextFactory(PassOwnPtr<OffscreenCanvasRenderingContextFactory> renderingContextFactory)
{
- OffscreenCanvasRenderingContext::ContextType type = renderingContextFactory->contextType();
+ OffscreenCanvasRenderingContext::ContextType type = renderingContextFactory->getContextType();
ASSERT(type < OffscreenCanvasRenderingContext::ContextTypeCount);
ASSERT(!renderingContextFactories()[type]);
renderingContextFactories()[type] = renderingContextFactory;

Powered by Google App Engine
This is Rietveld 408576698