Build fixes.
authorjonlee@apple.com <jonlee@apple.com@268f45cc-cd09-0410-ab3c-d52691b4dbfc>
Mon, 24 Mar 2014 16:09:50 +0000 (16:09 +0000)
committerjonlee@apple.com <jonlee@apple.com@268f45cc-cd09-0410-ab3c-d52691b4dbfc>
Mon, 24 Mar 2014 16:09:50 +0000 (16:09 +0000)
Unreviewed.

Source/WebCore:

* editing/ios/EditorIOS.mm:
(WebCore::Editor::writeSelectionToPasteboard): Convert to reference.

Source/WebKit/mac:

* WebInspector/WebNodeHighlightView.mm: Missing include to GeometryUtilities.

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

Source/WebCore/ChangeLog
Source/WebCore/editing/ios/EditorIOS.mm
Source/WebKit/mac/ChangeLog
Source/WebKit/mac/WebInspector/WebNodeHighlightView.mm

index a9e5fb7..7425fef 100644 (file)
@@ -1,3 +1,12 @@
+2014-03-24  Jon Lee  <jonlee@apple.com>
+
+        Build fixes.
+
+        Unreviewed.
+
+        * editing/ios/EditorIOS.mm:
+        (WebCore::Editor::writeSelectionToPasteboard): Convert to reference.
+
 2014-03-24  Martin Hodovan  <mhodovan@inf.u-szeged.hu>
 
         ENABLE(VIDEO_TRACK) guard for CSSParserSelector::parsePseudoCueFunctionSelector
index 6b16482..38143cb 100644 (file)
@@ -324,7 +324,7 @@ PassRefPtr<SharedBuffer> Editor::selectionInWebArchiveFormat()
 
 void Editor::writeSelectionToPasteboard(Pasteboard& pasteboard)
 {
-    NSAttributedString *attributedString = attributedStringFromRange(selectedRange());
+    NSAttributedString *attributedString = attributedStringFromRange(*selectedRange());
 
     PasteboardWebContent content;
     content.canSmartCopyOrDelete = canSmartCopyOrDelete();
index 4020c76..0f1c4c3 100644 (file)
@@ -1,3 +1,11 @@
+2014-03-24  Jon Lee  <jonlee@apple.com>
+
+        Build fixes.
+
+        Unreviewed.
+
+        * WebInspector/WebNodeHighlightView.mm: Missing include to GeometryUtilities.
+
 2014-03-23  Sam Weinig  <sam@webkit.org>
 
         Remove some unnecessary .get()s that Darin noticed.
index 3d4b1a8..25ffc39 100644 (file)
@@ -36,6 +36,7 @@
 #if PLATFORM(IOS)
 #import <CoreGraphics/CoreGraphics.h>
 #import <WebCore/FloatQuad.h>
+#import <WebCore/GeometryUtilities.h>
 #import <WebCore/InspectorOverlay.h>
 #import <WebCore/WebCoreThread.h>
 #endif