diff options
author | wez@chromium.org <wez@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98> | 2013-01-23 17:38:27 +0000 |
---|---|---|
committer | wez@chromium.org <wez@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98> | 2013-01-23 17:38:27 +0000 |
commit | 50e9dcf831492784c434b95c56808402c6de6295 (patch) | |
tree | b8232101b10a33a50d40ea48cdfecac8bcb40efc /skia | |
parent | 45499256db8cd1796deca460a0ebef69368fa841 (diff) | |
download | chromium_src-50e9dcf831492784c434b95c56808402c6de6295.zip chromium_src-50e9dcf831492784c434b95c56808402c6de6295.tar.gz chromium_src-50e9dcf831492784c434b95c56808402c6de6295.tar.bz2 |
Add support for high-DPI hosts under Mac OS X.
- Moves enumeration of display configuration(s) to helper classes, which fetch each display's logical and device-native resolutions.
- Updates VideoFrameCapturerMac and EventExecutorMac to use the helper.
BUG=135081
Review URL: https://chromiumcodereview.appspot.com/11665012
git-svn-id: svn://svn.chromium.org/chrome/trunk/src@178318 0039d316-1c4b-4281-b951-d872f2087c98
Diffstat (limited to 'skia')
-rw-r--r-- | skia/ext/skia_utils_mac.h | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/skia/ext/skia_utils_mac.h b/skia/ext/skia_utils_mac.h index ad5fc93..40eb6d4 100644 --- a/skia/ext/skia_utils_mac.h +++ b/skia/ext/skia_utils_mac.h @@ -52,7 +52,7 @@ inline const SkPoint& CGPointToSkPoint(const CGPoint& point) { SK_API CGAffineTransform SkMatrixToCGAffineTransform(const SkMatrix& matrix); // Rectangle converters. -SkRect CGRectToSkRect(const CGRect& rect); +SK_API SkRect CGRectToSkRect(const CGRect& rect); // Converts a Skia rect to a CoreGraphics CGRect. CGRect SkIRectToCGRect(const SkIRect& rect); |