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

Unified Diff: gfx/scoped_cg_context_state_mac.h

Issue 6246027: Move src/gfx/ to src/ui/gfx... (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src/
Patch Set: '' Created 9 years, 11 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
« no previous file with comments | « gfx/run_all_unittests.cc ('k') | gfx/scoped_image.h » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: gfx/scoped_cg_context_state_mac.h
===================================================================
--- gfx/scoped_cg_context_state_mac.h (revision 73487)
+++ gfx/scoped_cg_context_state_mac.h (working copy)
@@ -5,26 +5,7 @@
#ifndef GFX_SCOPED_CG_CONTEXT_STATE_MAC_H_
#define GFX_SCOPED_CG_CONTEXT_STATE_MAC_H_
-#import <QuartzCore/QuartzCore.h>
+#include "ui/gfx/scoped_cg_context_state_mac.h"
+// TODO(sail): remove this file once all includes have been updated.
-namespace gfx {
-
-class ScopedCGContextSaveGState {
- public:
- explicit ScopedCGContextSaveGState(CGContextRef context) : context_(context) {
- CGContextSaveGState(context_);
- }
-
- ~ScopedCGContextSaveGState() {
- CGContextRestoreGState(context_);
- }
-
- private:
- CGContextRef context_;
-
- DISALLOW_COPY_AND_ASSIGN(ScopedCGContextSaveGState);
-};
-
-} // namespace gfx
-
#endif // GFX_SCOPED_CG_CONTEXT_STATE_MAC_H_
« no previous file with comments | « gfx/run_all_unittests.cc ('k') | gfx/scoped_image.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698