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

Unified Diff: Source/platform/PlatformScreen.cpp

Issue 570023002: Move screenColorProfile from Platform to ImageDecoder (Closed) Base URL: svn://svn.chromium.org/blink/trunk
Patch Set: RVO: make screenColorProfile return the ColorProfile. Created 6 years, 3 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: Source/platform/PlatformScreen.cpp
diff --git a/Source/platform/PlatformScreen.cpp b/Source/platform/PlatformScreen.cpp
index 9a4ff65017c434984bacfe0a96de58a62a668cc0..8bae9c60160ceb86f4a6780bbf1adf3ad10c33e8 100644
--- a/Source/platform/PlatformScreen.cpp
+++ b/Source/platform/PlatformScreen.cpp
@@ -104,11 +104,4 @@ blink::WebScreenOrientationType screenOrientationType(Widget* widget)
return hostWindow->screenInfo().orientationType;
}
-void screenColorProfile(ColorProfile& toProfile)
-{
- blink::WebVector<char> profile;
- blink::Platform::current()->screenColorProfile(&profile);
- toProfile.append(profile.data(), profile.size());
-}
-
} // namespace blink

Powered by Google App Engine
This is Rietveld 408576698