Title: [133689] trunk/Source/WebCore
- Revision
- 133689
- Author
- [email protected]
- Date
- 2012-11-06 16:14:54 -0800 (Tue, 06 Nov 2012)
Log Message
Build fix. r133601 broke the Windows build.
https://bugs.webkit.org/show_bug.cgi?id=101404
Patch by Huang Dongsung <[email protected]> on 2012-11-06
Reviewed by Noam Rosenthal.
Only static const integral data members can be initialized within a class in the
Windows, so we initialize static const double date members out of the class.
* platform/graphics/texmap/TextureMapper.cpp:
(BitmapTexturePool):
(WebCore):
Modified Paths
Diff
Modified: trunk/Source/WebCore/ChangeLog (133688 => 133689)
--- trunk/Source/WebCore/ChangeLog 2012-11-07 00:13:54 UTC (rev 133688)
+++ trunk/Source/WebCore/ChangeLog 2012-11-07 00:14:54 UTC (rev 133689)
@@ -1,3 +1,17 @@
+2012-11-06 Huang Dongsung <[email protected]>
+
+ Build fix. r133601 broke the Windows build.
+ https://bugs.webkit.org/show_bug.cgi?id=101404
+
+ Reviewed by Noam Rosenthal.
+
+ Only static const integral data members can be initialized within a class in the
+ Windows, so we initialize static const double date members out of the class.
+
+ * platform/graphics/texmap/TextureMapper.cpp:
+ (BitmapTexturePool):
+ (WebCore):
+
2012-11-06 Simon Fraser <[email protected]>
-webkit-background-clip:text produces artifacts when applied to the body and the browser is resized
Modified: trunk/Source/WebCore/platform/graphics/texmap/TextureMapper.cpp (133688 => 133689)
--- trunk/Source/WebCore/platform/graphics/texmap/TextureMapper.cpp 2012-11-07 00:13:54 UTC (rev 133688)
+++ trunk/Source/WebCore/platform/graphics/texmap/TextureMapper.cpp 2012-11-07 00:14:54 UTC (rev 133689)
@@ -58,10 +58,13 @@
Vector<BitmapTexturePoolEntry> m_textures;
Timer<BitmapTexturePool> m_releaseUnusedTexturesTimer;
- static const double s_releaseUnusedSecondsTolerance = 3;
- static const double s_releaseUnusedTexturesTimerInterval = 0.5;
+ static const double s_releaseUnusedSecondsTolerance;
+ static const double s_releaseUnusedTexturesTimerInterval;
};
+const double BitmapTexturePool::s_releaseUnusedSecondsTolerance = 3;
+const double BitmapTexturePool::s_releaseUnusedTexturesTimerInterval = 0.5;
+
BitmapTexturePool::BitmapTexturePool()
: m_releaseUnusedTexturesTimer(this, &BitmapTexturePool::releaseUnusedTexturesTimerFired)
{ }
_______________________________________________
webkit-changes mailing list
[email protected]
http://lists.webkit.org/mailman/listinfo/webkit-changes