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

Unified Diff: third_party/WebKit/Source/core/html/ImageDocument.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/core/html/ImageDocument.cpp
diff --git a/third_party/WebKit/Source/core/html/ImageDocument.cpp b/third_party/WebKit/Source/core/html/ImageDocument.cpp
index 6bf1f3d68a0376321890a10b642dd8111f03d58f..35b6fd7d66085c9c9a90b7ed2942a5061f4a9512 100644
--- a/third_party/WebKit/Source/core/html/ImageDocument.cpp
+++ b/third_party/WebKit/Source/core/html/ImageDocument.cpp
@@ -145,7 +145,7 @@ void ImageDocumentParser::appendBytes(const char* data, size_t length) {
LocalFrame* frame = document()->frame();
Settings* settings = frame->settings();
if (!frame->loader().client()->allowImage(
- !settings || settings->imagesEnabled(), document()->url()))
+ !settings || settings->getImagesEnabled(), document()->url()))
return;
if (document()->cachedImageResourceDeprecated()) {
@@ -206,8 +206,8 @@ ImageDocument::ImageDocument(const DocumentInit& initializer)
m_imageIsLoaded(false),
m_styleCheckerSize(0),
m_styleMouseCursorMode(Default),
- m_shrinkToFitMode(frame()->settings()->viewportEnabled() ? Viewport
- : Desktop) {
+ m_shrinkToFitMode(frame()->settings()->getViewportEnabled() ? Viewport
+ : Desktop) {
setCompatibilityMode(QuirksMode);
lockCompatibilityMode();
UseCounter::count(*this, UseCounter::ImageDocument);

Powered by Google App Engine
This is Rietveld 408576698