Unreviewed build fix.
authorzalan@apple.com <zalan@apple.com@268f45cc-cd09-0410-ab3c-d52691b4dbfc>
Tue, 29 May 2018 02:40:43 +0000 (02:40 +0000)
committerzalan@apple.com <zalan@apple.com@268f45cc-cd09-0410-ab3c-d52691b4dbfc>
Tue, 29 May 2018 02:40:43 +0000 (02:40 +0000)
* layout/displaytree/DisplayBox.h:
(WebCore::Display::Box::Rect::operator LayoutRect const):

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

Source/WebCore/ChangeLog
Source/WebCore/layout/displaytree/DisplayBox.h

index 32a42d1f98a15235c9eb70a2831e6fc42cefb89e..c097e127830359c7ba176f3fbc2a8ed5185e0006 100644 (file)
@@ -1,3 +1,10 @@
+2018-05-28  Zalan Bujtas  <zalan@apple.com>
+
+        Unreviewed build fix.
+
+        * layout/displaytree/DisplayBox.h:
+        (WebCore::Display::Box::Rect::operator LayoutRect const):
+
 2018-05-28  Zalan Bujtas  <zalan@apple.com>
 
         [LFC] Add Rect interface to Display::Box
 2018-05-28  Zalan Bujtas  <zalan@apple.com>
 
         [LFC] Add Rect interface to Display::Box
index 3fa123187982d7745d3d10155d514e92a429f646..6ae570ab70c9dc352261e567d011f4193d248393 100644 (file)
@@ -82,6 +82,8 @@ public:
 
         void expand(LayoutUnit, LayoutUnit);
 
 
         void expand(LayoutUnit, LayoutUnit);
 
+        operator LayoutRect() const { return m_rect; }
+
     private:
 #if !ASSERT_DISABLED
         void invalidateTop() { m_hasValidTop = false; }
     private:
 #if !ASSERT_DISABLED
         void invalidateTop() { m_hasValidTop = false; }