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

Unified Diff: chrome/browser/ui/views/extensions/shell_window_views.h

Issue 10827218: Replace gfx::ScopedSkRegion with scoped_ptr<SkRegion>. (Closed) Base URL: http://git.chromium.org/chromium/src.git@master
Patch Set: 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 side-by-side diff with in-line comments
Download patch
« no previous file with comments | « no previous file | chrome/browser/ui/views/extensions/shell_window_views.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: chrome/browser/ui/views/extensions/shell_window_views.h
diff --git a/chrome/browser/ui/views/extensions/shell_window_views.h b/chrome/browser/ui/views/extensions/shell_window_views.h
index 16fdaf224d229800a0e637bd8d064e9e9d03a99c..adf7301049ac5b3500d82e8fe3fe9cb7f0226b58 100644
--- a/chrome/browser/ui/views/extensions/shell_window_views.h
+++ b/chrome/browser/ui/views/extensions/shell_window_views.h
@@ -6,8 +6,8 @@
#define CHROME_BROWSER_UI_VIEWS_EXTENSIONS_SHELL_WINDOW_VIEWS_H_
#include "chrome/browser/ui/extensions/shell_window.h"
+#include "third_party/skia/include/core/SkRegion.h"
#include "ui/gfx/rect.h"
-#include "ui/gfx/scoped_sk_region.h"
#include "ui/views/widget/widget_delegate.h"
class Profile;
@@ -30,7 +30,7 @@ class ShellWindowViews : public ShellWindow,
const CreateParams& params);
bool frameless() const { return frameless_; }
- SkRegion* draggable_region() { return draggable_region_.Get(); }
+ SkRegion* draggable_region() { return draggable_region_.get(); }
// BaseWindow implementation.
virtual bool IsActive() const OVERRIDE;
@@ -93,7 +93,7 @@ class ShellWindowViews : public ShellWindow,
views::Widget* window_;
bool is_fullscreen_;
- gfx::ScopedSkRegion draggable_region_;
+ scoped_ptr<SkRegion> draggable_region_;
bool frameless_;
gfx::Size minimum_size_;
« no previous file with comments | « no previous file | chrome/browser/ui/views/extensions/shell_window_views.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698