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

Unified Diff: third_party/WebKit/Source/core/page/DragController.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/core/page/DragController.cpp
diff --git a/third_party/WebKit/Source/core/page/DragController.cpp b/third_party/WebKit/Source/core/page/DragController.cpp
index 0be7eaeadf9e19192115fdf043a20fa3d9f9fab6..bae9ad978523dbf2ea823aae129e91301c1d8267 100644
--- a/third_party/WebKit/Source/core/page/DragController.cpp
+++ b/third_party/WebKit/Source/core/page/DragController.cpp
@@ -276,7 +276,7 @@ bool DragController::performDrag(DragData* dragData, LocalFrame& localRoot) {
if (operationForLoad(dragData, localRoot) == DragOperationNone)
return false;
- if (m_page->settings().navigateOnDragDrop()) {
+ if (m_page->settings().GetNavigateOnDragDrop()) {
m_page->mainFrame()->navigate(
FrameLoadRequest(nullptr, ResourceRequest(dragData->asURL())));
}
@@ -777,7 +777,7 @@ Node* DragController::draggableNode(const LocalFrame* src,
// Even if the image is part of a selection, we always only drag the image
// in this case.
if (layoutObject->isImage() && src->settings() &&
- src->settings()->loadsImagesAutomatically()) {
+ src->settings()->GetLoadsImagesAutomatically()) {
dragType = DragSourceActionImage;
return node;
}

Powered by Google App Engine
This is Rietveld 408576698