Title: [167682] trunk/Source/WebKit2
Revision
167682
Author
[email protected]
Date
2014-04-22 13:51:14 -0700 (Tue, 22 Apr 2014)

Log Message

Remove unused local variable
https://bugs.webkit.org/show_bug.cgi?id=132020

Patch by Joseph Pecoraro <[email protected]> on 2014-04-22
Reviewed by Alexey Proskuryakov.

* UIProcess/ios/forms/WKFormSelectPopover.mm:
(-[WKSelectPopover initWithView:hasGroups:]):

Modified Paths

Diff

Modified: trunk/Source/WebKit2/ChangeLog (167681 => 167682)


--- trunk/Source/WebKit2/ChangeLog	2014-04-22 20:49:13 UTC (rev 167681)
+++ trunk/Source/WebKit2/ChangeLog	2014-04-22 20:51:14 UTC (rev 167682)
@@ -1,3 +1,13 @@
+2014-04-22  Joseph Pecoraro  <[email protected]>
+
+        Remove unused local variable
+        https://bugs.webkit.org/show_bug.cgi?id=132020
+
+        Reviewed by Alexey Proskuryakov.
+
+        * UIProcess/ios/forms/WKFormSelectPopover.mm:
+        (-[WKSelectPopover initWithView:hasGroups:]):
+
 2014-04-22  Brady Eidson  <[email protected]>
 
         Change Image Controls replacement to use selection and paste

Modified: trunk/Source/WebKit2/UIProcess/ios/forms/WKFormSelectPopover.mm (167681 => 167682)


--- trunk/Source/WebKit2/UIProcess/ios/forms/WKFormSelectPopover.mm	2014-04-22 20:49:13 UTC (rev 167681)
+++ trunk/Source/WebKit2/UIProcess/ios/forms/WKFormSelectPopover.mm	2014-04-22 20:51:14 UTC (rev 167682)
@@ -390,7 +390,6 @@
     UIViewController *popoverViewController = _tableViewController.get();
     UINavigationController *navController = nil;
     NSString *title = view.assistedNodeInformation.title;
-    CGFloat titleHeight = 0;
     BOOL needsNavigationController = (_view && _UIApplicationUsesLegacyUI()) || [title length];
     if (needsNavigationController) {
         navController = [[UINavigationController alloc] initWithRootViewController:_tableViewController.get()];
@@ -398,8 +397,6 @@
         
         if (_view.assistedNodeInformation.isMultiSelect && _UIApplicationUsesLegacyUI())
             _tableViewController.get().navigationItem.rightBarButtonItem = [[[UIBarButtonItem alloc] initWithBarButtonSystemItem:UIBarButtonSystemItemDone target:self action:@selector(_userActionDismissedPopover:)] autorelease];
-        
-        titleHeight = navController.navigationBar.bounds.size.height;
     }
     
     CGSize popoverSize = [_tableViewController.get().tableView sizeThatFits:CGSizeMake(320, CGFLOAT_MAX)];
_______________________________________________
webkit-changes mailing list
[email protected]
https://lists.webkit.org/mailman/listinfo/webkit-changes

Reply via email to