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

Unified Diff: third_party/WebKit/Source/modules/beacon/NavigatorBeacon.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/beacon/NavigatorBeacon.cpp
diff --git a/third_party/WebKit/Source/modules/beacon/NavigatorBeacon.cpp b/third_party/WebKit/Source/modules/beacon/NavigatorBeacon.cpp
index 33cae5d175d7867981074c4d57e5865dd4411e5f..0a67f5c66d8cb2ec8318d493772c70cb7322c67d 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