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

Unified Diff: Source/core/frame/NavigatorLanguage.cpp

Issue 338843005: IDL: For DOMString? attribute getters, use null string to represent null (Closed) Base URL: https://chromium.googlesource.com/chromium/blink.git@master
Patch Set: Created 6 years, 6 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: Source/core/frame/NavigatorLanguage.cpp
diff --git a/Source/core/frame/NavigatorLanguage.cpp b/Source/core/frame/NavigatorLanguage.cpp
index ad520541539e59743d64d55b07ae1a87d48346c2..8ad20438147ae81243ca6c3d69f2abfc01787318 100644
--- a/Source/core/frame/NavigatorLanguage.cpp
+++ b/Source/core/frame/NavigatorLanguage.cpp
@@ -14,9 +14,8 @@ NavigatorLanguage::NavigatorLanguage()
{
}
-AtomicString NavigatorLanguage::language(bool& isNull)
+AtomicString NavigatorLanguage::language()
{
- isNull = false;
return defaultLanguage();
}

Powered by Google App Engine
This is Rietveld 408576698