Title: [146379] trunk/Source/WebCore
Revision
146379
Author
zandober...@gmail.com
Date
2013-03-20 13:07:17 -0700 (Wed, 20 Mar 2013)

Log Message

[GTK] Clean up TemporaryLinkStubs.cpp
https://bugs.webkit.org/show_bug.cgi?id=112820

Reviewed by Philippe Normand.

Clean up the TemporaryLinkStubs.cpp file, removing unnecessary includes and prettifying the code.

No new tests - no new functionality.

* platform/gtk/TemporaryLinkStubs.cpp:
(WebCore):
(WebCore::getSupportedKeySizes):
(WebCore::signedPublicKeyAndChallengeString):
(WebCore::userIdleTime):

Modified Paths

Diff

Modified: trunk/Source/WebCore/ChangeLog (146378 => 146379)


--- trunk/Source/WebCore/ChangeLog	2013-03-20 19:27:19 UTC (rev 146378)
+++ trunk/Source/WebCore/ChangeLog	2013-03-20 20:07:17 UTC (rev 146379)
@@ -1,3 +1,20 @@
+2013-03-20  Zan Dobersek  <zdober...@igalia.com>
+
+        [GTK] Clean up TemporaryLinkStubs.cpp
+        https://bugs.webkit.org/show_bug.cgi?id=112820
+
+        Reviewed by Philippe Normand.
+
+        Clean up the TemporaryLinkStubs.cpp file, removing unnecessary includes and prettifying the code.
+
+        No new tests - no new functionality.
+
+        * platform/gtk/TemporaryLinkStubs.cpp:
+        (WebCore):
+        (WebCore::getSupportedKeySizes):
+        (WebCore::signedPublicKeyAndChallengeString):
+        (WebCore::userIdleTime):
+
 2013-03-20  Yufeng Shen  <mile...@chromium.org>
 
         Remove PlatformEvent::GestureDoubleTap

Modified: trunk/Source/WebCore/platform/gtk/TemporaryLinkStubs.cpp (146378 => 146379)


--- trunk/Source/WebCore/platform/gtk/TemporaryLinkStubs.cpp	2013-03-20 19:27:19 UTC (rev 146378)
+++ trunk/Source/WebCore/platform/gtk/TemporaryLinkStubs.cpp	2013-03-20 20:07:17 UTC (rev 146379)
@@ -27,25 +27,32 @@
 
 #include "config.h"
 
-#include "AXObjectCache.h"
-#include "CookieStorage.h"
-#include "DNS.h"
-#include "Editor.h"
-#include "FrameView.h"
-#include "FTPDirectoryDocument.h"
+#include "KURL.h"
 #include "NotImplemented.h"
-#include "PluginView.h"
 #include <float.h>
+#include <wtf/text/WTFString.h>
 
-using namespace WebCore;
-
 /********************************************************/
 /* Completely empty stubs (mostly to allow DRT to run): */
 /********************************************************/
 
 namespace WebCore {
-void getSupportedKeySizes(Vector<String>&) { notImplemented(); }
-String signedPublicKeyAndChallengeString(unsigned keySizeIndex, const String &challengeString, const KURL &url) { return String(); }
-float userIdleTime() { notImplemented(); return FLT_MAX; } // return an arbitrarily high userIdleTime so that releasing pages from the page cache isn't postponed
 
+void getSupportedKeySizes(Vector<String>&)
+{
+    notImplemented();
 }
+
+String signedPublicKeyAndChallengeString(unsigned, const String&, const KURL&)
+{
+    return String();
+}
+
+float userIdleTime()
+{
+    // Return an arbitrarily high userIdleTime so that releasing pages from the page cache isn't postponed.
+    notImplemented();
+    return FLT_MAX;
+}
+
+}
_______________________________________________
webkit-changes mailing list
webkit-changes@lists.webkit.org
https://lists.webkit.org/mailman/listinfo/webkit-changes

Reply via email to