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

Side by Side Diff: cc/stubs/SkiaUtils.h

Issue 10828381: libcc and webkit_compositor targets + stubs (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Slightly better scripts and updated README Created 8 years, 4 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 unified diff | Download patch | Annotate | Revision Log
OLDNEW
(Empty)
1 #ifndef CC_STUBS_SKIAUTILS_H_
2 #define CC_STUBS_SKIAUTILS_H_
3
4 namespace WebCore {
5
6 inline SkScalar WebCoreFloatToSkScalar(float f)
7 {
8 return SkFloatToScalar(isfinite(f) ? f : 0);
9 }
10
11 }
12
13 #endif // CC_STUBS_SKIAUTILS_H_
OLDNEW
« no previous file with comments | « cc/stubs/Region.h ('k') | cc/stubs/TextStream.h » ('j') | cc/test/RunAllTests.cpp » ('J')

Powered by Google App Engine
This is Rietveld 408576698