Maybe fix Windows.
authorsimon.fraser@apple.com <simon.fraser@apple.com@268f45cc-cd09-0410-ab3c-d52691b4dbfc>
Fri, 22 Aug 2014 20:40:47 +0000 (20:40 +0000)
committersimon.fraser@apple.com <simon.fraser@apple.com@268f45cc-cd09-0410-ab3c-d52691b4dbfc>
Fri, 22 Aug 2014 20:40:47 +0000 (20:40 +0000)
* inspector/InspectorOverlay.cpp:
(WebCore::InspectorOverlay::showPaintRect):

git-svn-id: https://svn.webkit.org/repository/webkit/trunk@172870 268f45cc-cd09-0410-ab3c-d52691b4dbfc

Source/WebCore/ChangeLog
Source/WebCore/inspector/InspectorOverlay.cpp

index d054b80..82244e9 100644 (file)
@@ -1,5 +1,12 @@
 2014-08-22  Simon Fraser  <simon.fraser@apple.com>
 
+        Maybe fix Windows.
+
+        * inspector/InspectorOverlay.cpp:
+        (WebCore::InspectorOverlay::showPaintRect):
+
+2014-08-22  Simon Fraser  <simon.fraser@apple.com>
+
         Implement paint flashing in the WK1 InspectorOverlay page
         https://bugs.webkit.org/show_bug.cgi?id=136138
 
index 5c2b39a..516c687 100644 (file)
@@ -491,7 +491,7 @@ void InspectorOverlay::showPaintRect(const FloatRect& rect)
 
     IntRect rootRect = m_page.mainFrame().view()->contentsToRootView(enclosedIntRect(rect));
 
-    const constexpr std::chrono::milliseconds removeDelay = std::chrono::milliseconds(250);
+    const std::chrono::milliseconds removeDelay = std::chrono::milliseconds(250);
 
     std::chrono::steady_clock::time_point removeTime = std::chrono::steady_clock::now() + removeDelay;
     m_paintRects.append(TimeRectPair(removeTime, rootRect));