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

Unified Diff: third_party/WebKit/Source/modules/offscreencanvas2d/OffscreenCanvasRenderingContext2D.cpp

Issue 2589143003: Add 'get' prefix for Settings.in generated code. (Closed)
Patch Set: Capitalize the prefix. Created 4 years 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/offscreencanvas2d/OffscreenCanvasRenderingContext2D.cpp
diff --git a/third_party/WebKit/Source/modules/offscreencanvas2d/OffscreenCanvasRenderingContext2D.cpp b/third_party/WebKit/Source/modules/offscreencanvas2d/OffscreenCanvasRenderingContext2D.cpp
index 969e1d2f044111ed792b92e087fcddc902cef016..d0d3de87313f4779d554e183046d33e1cf60f521 100644
--- a/third_party/WebKit/Source/modules/offscreencanvas2d/OffscreenCanvasRenderingContext2D.cpp
+++ b/third_party/WebKit/Source/modules/offscreencanvas2d/OffscreenCanvasRenderingContext2D.cpp
@@ -27,7 +27,7 @@ OffscreenCanvasRenderingContext2D::OffscreenCanvasRenderingContext2D(
: CanvasRenderingContext(nullptr, canvas, attrs) {
ExecutionContext* executionContext = scriptState->getExecutionContext();
if (executionContext->isDocument()) {
- if (toDocument(executionContext)->settings()->disableReadingFromCanvas())
+ if (toDocument(executionContext)->settings()->GetDisableReadingFromCanvas())
canvas->setDisableReadingFromCanvasTrue();
return;
}

Powered by Google App Engine
This is Rietveld 408576698