Fix the 32-bit build
authortimothy_horton@apple.com <timothy_horton@apple.com@268f45cc-cd09-0410-ab3c-d52691b4dbfc>
Thu, 20 Nov 2014 01:16:11 +0000 (01:16 +0000)
committertimothy_horton@apple.com <timothy_horton@apple.com@268f45cc-cd09-0410-ab3c-d52691b4dbfc>
Thu, 20 Nov 2014 01:16:11 +0000 (01:16 +0000)
* UIProcess/mac/TextIndicatorWindow.mm:
(WebKit::TextIndicatorWindow::setTextIndicator):

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

Source/WebKit2/ChangeLog
Source/WebKit2/UIProcess/mac/TextIndicatorWindow.mm

index 6099b95b7857de6b1557fb13d25475073533fbbc..625969ae52ede62cc23686075487750cbd69be41 100644 (file)
@@ -1,3 +1,10 @@
+2014-11-19  Timothy Horton  <timothy_horton@apple.com>
+
+        Fix the 32-bit build
+
+        * UIProcess/mac/TextIndicatorWindow.mm:
+        (WebKit::TextIndicatorWindow::setTextIndicator):
+
 2014-11-19  Tim Horton  <timothy_horton@apple.com>
 
         Add an optional entry transition (from selection highlight) to TextIndicator
index 59d766406355a84d889999b67c88a0848b5e78dc..8462e31899f3ea556cad9fd08985405f76d03f06 100644 (file)
@@ -296,7 +296,7 @@ void TextIndicatorWindow::setTextIndicator(PassRefPtr<TextIndicator> textIndicat
     [m_textIndicatorWindow setOpaque:NO];
     [m_textIndicatorWindow setIgnoresMouseEvents:YES];
 
-    m_textIndicatorView = adoptNS([[WKTextIndicatorView alloc] initWithFrame:NSMakeRect(0, 0, [m_textIndicatorWindow frame].size.width, [m_textIndicatorWindow frame].size.height) textIndicator:m_textIndicator margin:CGSizeMake(horizontalMargin, verticalMargin)]);
+    m_textIndicatorView = adoptNS([[WKTextIndicatorView alloc] initWithFrame:NSMakeRect(0, 0, [m_textIndicatorWindow frame].size.width, [m_textIndicatorWindow frame].size.height) textIndicator:m_textIndicator margin:NSMakeSize(horizontalMargin, verticalMargin)]);
     [m_textIndicatorWindow setContentView:m_textIndicatorView.get()];
 
     [[m_wkView window] addChildWindow:m_textIndicatorWindow.get() ordered:NSWindowAbove];