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

Unified Diff: chrome/browser/cocoa/download_started_animation_mac.mm

Issue 2730015: Mac/clang: Uncontentious fixes. (Closed)
Patch Set: '' Created 10 years, 6 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
Index: chrome/browser/cocoa/download_started_animation_mac.mm
diff --git a/chrome/browser/cocoa/download_started_animation_mac.mm b/chrome/browser/cocoa/download_started_animation_mac.mm
index 86e2b3432e41c0e9dfc6c6f3069c95ef8125ef46..42c5c85bd42616e9f0d847cfa34db4ad0945b94f 100644
--- a/chrome/browser/cocoa/download_started_animation_mac.mm
+++ b/chrome/browser/cocoa/download_started_animation_mac.mm
@@ -97,7 +97,6 @@ private:
tabContents->GetContainerBounds(&bounds);
imageWidth_ = CGImageGetWidth(image);
CGFloat imageHeight = CGImageGetHeight(image);
- CGRect imageBounds = CGRectMake(0, 0, imageWidth_, imageHeight);
// Sanity check the size in case there's no room to display the animation.
if (bounds.height() < imageHeight) {

Powered by Google App Engine
This is Rietveld 408576698