[iOS] Missing RenderObject::style() symbol in WebDOMOperations.mm
authorddkilzer@apple.com <ddkilzer@apple.com@268f45cc-cd09-0410-ab3c-d52691b4dbfc>
Wed, 15 Jan 2014 18:37:02 +0000 (18:37 +0000)
committerddkilzer@apple.com <ddkilzer@apple.com@268f45cc-cd09-0410-ab3c-d52691b4dbfc>
Wed, 15 Jan 2014 18:37:02 +0000 (18:37 +0000)
Fixes the following linker error:

    Undefined symbols for architecture x86_64:
      "__ZNK7WebCore12RenderObject5styleEv", referenced from:
          -[DOMNode(WebDOMNodeOperations) isHorizontalWritingMode] in WebDOMOperations.o

* DOM/WebDOMOperations.mm: Include RenderElement.h instead of
RenderObject.h since the inline RenderObject::style() method
moved to the former header.

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

Source/WebKit/mac/ChangeLog
Source/WebKit/mac/DOM/WebDOMOperations.mm

index 45693bc04fedad6025ac7b11de0c95d0c33d56ce..f8b960249c3278ad687b9f6545955997eebe36ee 100644 (file)
@@ -1,3 +1,17 @@
+2014-01-15  David Kilzer  <ddkilzer@apple.com>
+
+        [iOS] Missing RenderObject::style() symbol in WebDOMOperations.mm
+
+        Fixes the following linker error:
+
+            Undefined symbols for architecture x86_64:
+              "__ZNK7WebCore12RenderObject5styleEv", referenced from:
+                  -[DOMNode(WebDOMNodeOperations) isHorizontalWritingMode] in WebDOMOperations.o
+
+        * DOM/WebDOMOperations.mm: Include RenderElement.h instead of
+        RenderObject.h since the inline RenderObject::style() method
+        moved to the former header.
+
 2014-01-15  Commit Queue  <commit-queue@webkit.org>
 
         Unreviewed, rolling out r162054.
index f003ffbe5b91d9d025f550688347dcdcc5a23fe4..99f39fd9ec740285f3de41b8d0d702aea40b4822 100644 (file)
@@ -47,7 +47,7 @@
 #import <WebCore/JSElement.h>
 #import <WebCore/LegacyWebArchive.h>
 #import <WebCore/markup.h>
-#import <WebCore/RenderObject.h>
+#import <WebCore/RenderElement.h>
 #import <WebCore/RenderTreeAsText.h>
 #import <WebCore/ShadowRoot.h>
 #import <WebKit/DOMExtensions.h>