Title: [143294] trunk/Source/WebCore
- Revision
- 143294
- Author
- [email protected]
- Date
- 2013-02-18 22:27:31 -0800 (Mon, 18 Feb 2013)
Log Message
That didn't work either. Just make it public. This is why I hate nested classes. They just don't work.
* rendering/RenderBlock.h:
(RenderBlock):
Modified Paths
Diff
Modified: trunk/Source/WebCore/ChangeLog (143293 => 143294)
--- trunk/Source/WebCore/ChangeLog 2013-02-19 06:12:57 UTC (rev 143293)
+++ trunk/Source/WebCore/ChangeLog 2013-02-19 06:27:31 UTC (rev 143294)
@@ -1,5 +1,12 @@
2013-02-18 Ryosuke Niwa <[email protected]>
+ That didn't work either. Just make it public. This is why I hate nested classes. They just don't work.
+
+ * rendering/RenderBlock.h:
+ (RenderBlock):
+
+2013-02-18 Ryosuke Niwa <[email protected]>
+
Windows build fix. Apparently Visual Studio still has a lot of bugs with respect to nested classes.
Work around it by directly instantiating the class inside createFloatingObjects.
Modified: trunk/Source/WebCore/rendering/RenderBlock.h (143293 => 143294)
--- trunk/Source/WebCore/rendering/RenderBlock.h 2013-02-19 06:12:57 UTC (rev 143293)
+++ trunk/Source/WebCore/rendering/RenderBlock.h 2013-02-19 06:27:31 UTC (rev 143294)
@@ -1137,6 +1137,8 @@
void createFloatingObjects();
+public:
+
class FloatingObjects {
WTF_MAKE_NONCOPYABLE(FloatingObjects); WTF_MAKE_FAST_ALLOCATED;
public:
@@ -1177,6 +1179,8 @@
friend void RenderBlock::createFloatingObjects();
};
+protected:
+
OwnPtr<FloatingObjects> m_floatingObjects;
// Allocated only when some of these fields have non-default values
_______________________________________________
webkit-changes mailing list
[email protected]
https://lists.webkit.org/mailman/listinfo/webkit-changes