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

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

Issue 2589143003: Add 'get' prefix for Settings.in generated code. (Closed)
Patch Set: Only get prefix and no capitalization. Created 3 years, 11 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/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..3c704b39c0e189240c5d89fb82e05f5ee5dd6f00 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