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

Unified Diff: chrome/browser/ui/cocoa/infobars/infobar_gradient_view.mm

Issue 1508893003: Use proper namespace in skia/ext (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Rebase Created 5 years 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/ui/cocoa/infobars/infobar_gradient_view.mm
diff --git a/chrome/browser/ui/cocoa/infobars/infobar_gradient_view.mm b/chrome/browser/ui/cocoa/infobars/infobar_gradient_view.mm
index 0f737f03c07fc3fa4b5c975cb10da06f4582a953..87bb2c071ac599cb2af2f9b333a539143b8be6e0 100644
--- a/chrome/browser/ui/cocoa/infobars/infobar_gradient_view.mm
+++ b/chrome/browser/ui/cocoa/infobars/infobar_gradient_view.mm
@@ -41,8 +41,8 @@
SkColor topColor = infobars::InfoBar::GetTopColor(infobarType);
SkColor bottomColor = infobars::InfoBar::GetBottomColor(infobarType);
base::scoped_nsobject<NSGradient> gradient([[NSGradient alloc]
- initWithStartingColor:gfx::SkColorToCalibratedNSColor(topColor)
- endingColor:gfx::SkColorToCalibratedNSColor(bottomColor)]);
+ initWithStartingColor:skia::SkColorToCalibratedNSColor(topColor)
+ endingColor:skia::SkColorToCalibratedNSColor(bottomColor)]);
[self setGradient:gradient];
}

Powered by Google App Engine
This is Rietveld 408576698