| 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
|
|
|