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

Unified Diff: Source/platform/mac/LocalCurrentGraphicsContext.h

Issue 319183004: Prefer to forward-declare GraphicsContext in headers. (Closed) Base URL: svn://svn.chromium.org/blink/trunk
Patch Set: schenney nit (pare down platform/geometry/ includes to *Rect.h) Created 6 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: Source/platform/mac/LocalCurrentGraphicsContext.h
diff --git a/Source/platform/mac/LocalCurrentGraphicsContext.h b/Source/platform/mac/LocalCurrentGraphicsContext.h
index 95e5b46b7972d431fe8e53015e558adadf7b3bdf..c382b1651a346b7a71a8c7e55d799fecd5f514ad 100644
--- a/Source/platform/mac/LocalCurrentGraphicsContext.h
+++ b/Source/platform/mac/LocalCurrentGraphicsContext.h
@@ -17,15 +17,16 @@
* Boston, MA 02110-1301, USA.
*/
-#include "platform/graphics/GraphicsContext.h"
-#include "wtf/Noncopyable.h"
-
+#include "platform/PlatformExport.h"
#include "skia/ext/skia_utils_mac.h"
+#include "wtf/Noncopyable.h"
OBJC_CLASS NSGraphicsContext;
namespace WebCore {
+class GraphicsContext;
+
// This class automatically saves and restores the current NSGraphicsContext for
// functions which call out into AppKit and rely on the currentContext being set
class PLATFORM_EXPORT LocalCurrentGraphicsContext {
« no previous file with comments | « Source/platform/graphics/filters/SkiaImageFilterBuilder.cpp ('k') | Source/platform/mac/ScrollAnimatorMac.mm » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698