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

Unified Diff: third_party/WebKit/Source/modules/beacon/NavigatorBeacon.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/beacon/NavigatorBeacon.cpp
diff --git a/third_party/WebKit/Source/modules/beacon/NavigatorBeacon.cpp b/third_party/WebKit/Source/modules/beacon/NavigatorBeacon.cpp
index 74dbda37b5d216e237ed8f79428bf9e04954986b..1b076295380b75b1cb6c3c0cd5606f23e9f0a98c 100644
--- a/third_party/WebKit/Source/modules/beacon/NavigatorBeacon.cpp
+++ b/third_party/WebKit/Source/modules/beacon/NavigatorBeacon.cpp
@@ -80,7 +80,7 @@ int NavigatorBeacon::maxAllowance() const {
DCHECK(frame());
const Settings* settings = frame()->settings();
if (settings) {
- int maxAllowed = settings->maxBeaconTransmission();
+ int maxAllowed = settings->getMaxBeaconTransmission();
if (maxAllowed < m_transmittedBytes)
return 0;
return maxAllowed - m_transmittedBytes;

Powered by Google App Engine
This is Rietveld 408576698