Index: Source/core/page/Navigator.cpp |
diff --git a/Source/core/page/Navigator.cpp b/Source/core/page/Navigator.cpp |
index 9d6aca81816bade24eb0cccff89339d65305133d..76020dbd1bc10521f205cf8c29910e5611e87bff 100644 |
--- a/Source/core/page/Navigator.cpp |
+++ b/Source/core/page/Navigator.cpp |
@@ -82,12 +82,12 @@ String Navigator::userAgent() const |
{ |
if (!m_frame) |
return String(); |
- |
+ |
// If the frame is already detached, FrameLoader::userAgent may malfunction, because it calls a client method |
// that uses frame's WebView (at least, in Mac WebKit). |
if (!m_frame->page()) |
return String(); |
- |
+ |
return m_frame->loader()->userAgent(m_frame->document()->url()); |
} |