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

Unified Diff: Source/core/page/Navigator.cpp

Issue 22927015: Introduce NavigatorID IDL interface (Closed) Base URL: svn://svn.chromium.org/blink/trunk
Patch Set: Rebase on master Created 7 years, 4 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
« no previous file with comments | « Source/core/page/Navigator.h ('k') | Source/core/page/Navigator.idl » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: Source/core/page/Navigator.cpp
diff --git a/Source/core/page/Navigator.cpp b/Source/core/page/Navigator.cpp
index f16bbe8620c4bc87b4e604579d7c4afa316f96e1..4b08d4d93a24926963f799f3005d460327166a59 100644
--- a/Source/core/page/Navigator.cpp
+++ b/Source/core/page/Navigator.cpp
@@ -28,6 +28,7 @@
#include "core/loader/CookieJar.h"
#include "core/loader/FrameLoader.h"
#include "core/page/Frame.h"
+#include "core/page/NavigatorID.h"
#include "core/page/Page.h"
#include "core/page/Settings.h"
#include "core/platform/Language.h"
@@ -67,7 +68,7 @@ String Navigator::appVersion() const
{
if (!m_frame)
return String();
- String appVersion = NavigatorBase::appVersion();
+ String appVersion = NavigatorID::appVersion(this);
if (shouldHideFourDot(m_frame))
appVersion.replace("4.", "4_");
return appVersion;
« no previous file with comments | « Source/core/page/Navigator.h ('k') | Source/core/page/Navigator.idl » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698