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

Unified Diff: third_party/WebKit/Source/core/frame/Navigator.cpp

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/Navigator.cpp
diff --git a/third_party/WebKit/Source/core/frame/Navigator.cpp b/third_party/WebKit/Source/core/frame/Navigator.cpp
index 27ce6317f03466cf931450e820af2f6a60466e1b..8791e2eb034023095a4a4fc32962f43fb518229d 100644
--- a/third_party/WebKit/Source/core/frame/Navigator.cpp
+++ b/third_party/WebKit/Source/core/frame/Navigator.cpp
@@ -75,6 +75,7 @@ bool Navigator::cookieEnabled() const {
Vector<String> Navigator::languages() {
Vector<String> languages;
+ languages_changed_ = false;
if (!GetFrame() || !GetFrame()->GetPage()) {
languages.push_back(DefaultLanguage());

Powered by Google App Engine
This is Rietveld 408576698