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

Unified Diff: ui/gfx/path_aura.cc

Issue 10662037: basic nc paint, moving, resizing for views_examples_exe on win (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: GetHwnd->hwnd Created 8 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
« no previous file with comments | « ui/gfx/gdi_util.cc ('k') | ui/views/widget/desktop_native_widget_helper_aura.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: ui/gfx/path_aura.cc
diff --git a/ui/gfx/path_aura.cc b/ui/gfx/path_aura.cc
index b4c3ed46809e84d0901288b14d737b4254d2e5ef..7fcad1650c03c15ccc581dd27fa626407c9a5fed 100644
--- a/ui/gfx/path_aura.cc
+++ b/ui/gfx/path_aura.cc
@@ -4,12 +4,15 @@
#include "ui/gfx/path.h"
+#include "base/memory/scoped_ptr.h"
#include "third_party/skia/include/core/SkRegion.h"
namespace gfx {
SkRegion* Path::CreateNativeRegion() const {
- return new SkRegion;
+ SkRegion* region = new SkRegion;
+ region->setPath(*this, *region);
+ return region;
}
// static
« no previous file with comments | « ui/gfx/gdi_util.cc ('k') | ui/views/widget/desktop_native_widget_helper_aura.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698