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

Unified Diff: third_party/WebKit/Source/core/frame/NavigatorLanguage.h

Issue 2884493002: Bindings: Require [CachedAttribute] method to be const (Closed)
Patch Set: update binding test expectations Created 3 years, 7 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/frame/NavigatorLanguage.h
diff --git a/third_party/WebKit/Source/core/frame/NavigatorLanguage.h b/third_party/WebKit/Source/core/frame/NavigatorLanguage.h
index e73833ad9dbc3d481ca5b80f8107a640a46ba4d1..974d4ec7529939dc785c38201674ca82a305c4ac 100644
--- a/third_party/WebKit/Source/core/frame/NavigatorLanguage.h
+++ b/third_party/WebKit/Source/core/frame/NavigatorLanguage.h
@@ -16,11 +16,11 @@ class CORE_EXPORT NavigatorLanguage {
AtomicString language();
virtual Vector<String> languages() = 0;
- bool hasLanguagesChanged();
+ bool hasLanguagesChanged() const;
void SetLanguagesChanged();
- private:
- bool languages_changed_;
+ protected:
jsbell 2017/05/16 19:06:46 I don't have a big preference between using `prote
+ bool languages_changed_ = true;
};
} // namespace blink
« no previous file with comments | « third_party/WebKit/Source/core/frame/Navigator.cpp ('k') | third_party/WebKit/Source/core/frame/NavigatorLanguage.cpp » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698