Unreviewed build fix, style() return type is now a reference.
authorsvillar@igalia.com <svillar@igalia.com@268f45cc-cd09-0410-ab3c-d52691b4dbfc>
Wed, 6 Nov 2013 16:36:46 +0000 (16:36 +0000)
committersvillar@igalia.com <svillar@igalia.com@268f45cc-cd09-0410-ab3c-d52691b4dbfc>
Wed, 6 Nov 2013 16:36:46 +0000 (16:36 +0000)
* rendering/RenderGrid.cpp:
(WebCore::RenderGrid::resolveGridPositionFromStyle):

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

Source/WebCore/ChangeLog
Source/WebCore/rendering/RenderGrid.cpp

index 8ed7285..ca96de7 100644 (file)
@@ -1,3 +1,10 @@
+2013-11-06  Sergio Villar Senin  <svillar@igalia.com>
+
+        Unreviewed build fix, style() return type is now a reference.
+
+        * rendering/RenderGrid.cpp:
+        (WebCore::RenderGrid::resolveGridPositionFromStyle):
+
 2013-11-06  Jer Noble  <jer.noble@apple.com>
 
         Unreviewed 32-bit Mac build fix; use an explicit FloatSize -> IntSize conversion function.
index 17c85f0..76782b5 100644 (file)
@@ -918,7 +918,7 @@ size_t RenderGrid::resolveGridPositionFromStyle(const GridPosition& position, Gr
     {
         NamedGridAreaMap::const_iterator it = style().namedGridArea().find(position.namedGridLine());
         // Unknown grid area should have been computed to 'auto' by now.
-        ASSERT(it != style()->namedGridArea().end());
+        ASSERT(it != style().namedGridArea().end());
         const GridCoordinate& gridAreaCoordinate = it->value;
         switch (side) {
         case ColumnStartSide: