Title: [187704] trunk/Source/WebCore
Revision
187704
Author
[email protected]
Date
2015-07-31 19:39:34 -0700 (Fri, 31 Jul 2015)

Log Message

Removed pointSize from _addMarkersToList
https://bugs.webkit.org/show_bug.cgi?id=147515

Reviewed by Eric Carlson.

* editing/cocoa/HTMLConverter.mm:
(HTMLConverter::_addMarkersToList): Deleted.

Modified Paths

Diff

Modified: trunk/Source/WebCore/ChangeLog (187703 => 187704)


--- trunk/Source/WebCore/ChangeLog	2015-08-01 02:39:28 UTC (rev 187703)
+++ trunk/Source/WebCore/ChangeLog	2015-08-01 02:39:34 UTC (rev 187704)
@@ -1,3 +1,13 @@
+2015-07-31  Matthew Daiter  <[email protected]>
+
+        Removed pointSize from _addMarkersToList
+        https://bugs.webkit.org/show_bug.cgi?id=147515
+
+        Reviewed by Eric Carlson.
+
+        * editing/cocoa/HTMLConverter.mm:
+        (HTMLConverter::_addMarkersToList): Deleted.
+
 2015-07-31  Alex Christensen  <[email protected]>
 
         Prepare for VS2015

Modified: trunk/Source/WebCore/editing/cocoa/HTMLConverter.mm (187703 => 187704)


--- trunk/Source/WebCore/editing/cocoa/HTMLConverter.mm	2015-08-01 02:39:28 UTC (rev 187703)
+++ trunk/Source/WebCore/editing/cocoa/HTMLConverter.mm	2015-08-01 02:39:34 UTC (rev 187704)
@@ -2019,7 +2019,6 @@
     NSArray *textLists;
     CGFloat markerLocation;
     CGFloat listLocation;
-    CGFloat pointSize;
     
     if (range.length == 0 || range.location >= textLength)
         return;
@@ -2034,7 +2033,6 @@
                 paragraphRange = [string paragraphRangeForRange:NSMakeRange(idx, 0)];
                 paragraphStyle = [_attrStr attribute:NSParagraphStyleAttributeName atIndex:idx effectiveRange:&styleRange];
                 font = [_attrStr attribute:NSFontAttributeName atIndex:idx effectiveRange:NULL];
-                pointSize = font ? [font pointSize] : 12;
                 if ([[paragraphStyle textLists] count] == listIndex + 1) {
                     stringToInsert = [NSString stringWithFormat:@"\t%@\t", [list markerForItemNumber:itemNum++]];
                     insertLength = [stringToInsert length];
_______________________________________________
webkit-changes mailing list
[email protected]
https://lists.webkit.org/mailman/listinfo/webkit-changes

Reply via email to