Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(490)

Unified Diff: chrome/browser/ui/cocoa/bookmarks/bookmark_bar_folder_controller_unittest.mm

Issue 6142012: Address clang complaint about possible unrecognized function call.... (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src/
Patch Set: Created 9 years, 11 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
« no previous file with comments | « chrome/browser/ui/cocoa/bookmarks/bookmark_bar_folder_controller.mm ('k') | no next file » | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: chrome/browser/ui/cocoa/bookmarks/bookmark_bar_folder_controller_unittest.mm
===================================================================
--- chrome/browser/ui/cocoa/bookmarks/bookmark_bar_folder_controller_unittest.mm (revision 71059)
+++ chrome/browser/ui/cocoa/bookmarks/bookmark_bar_folder_controller_unittest.mm (working copy)
@@ -470,12 +470,12 @@
// Also, for each scroll, make sure our hit test finds a new button
// (to confirm the content area changed).
NSView* savedHit = nil;
- NSView* scrollView = [bbfc scrollView];
+ NSScrollView* scrollView = [bbfc scrollView];
// Find the next-to-last button showing at the bottom of the window and
// us its center for hit testing.
BookmarkButton* targetButton = nil;
- NSPoint scrollPoint = [[bbfc scrollView] documentVisibleRect].origin;
+ NSPoint scrollPoint = [scrollView documentVisibleRect].origin;
for (BookmarkButton* button in [bbfc buttons]) {
NSRect buttonFrame = [button frame];
buttonFrame.origin.y -= scrollPoint.y;
@@ -1199,7 +1199,7 @@
NSRect menuFrame = [folderView frame];
NSView* visibleView = [folderController visibleView];
NSRect visibleFrame = [visibleView frame];
- NSView* scrollView = [folderController scrollView];
+ NSScrollView* scrollView = [folderController scrollView];
NSRect scrollFrame = [scrollView frame];
// Determine the margins between the scroll frame and the visible frame.
« no previous file with comments | « chrome/browser/ui/cocoa/bookmarks/bookmark_bar_folder_controller.mm ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698