Index: samplecode/GMSampleView.cpp |
diff --git a/samplecode/GMSampleView.cpp b/samplecode/GMSampleView.cpp |
index e74612b2482b06fae99a01eab8ad7e996513b390..24c94cb58512b148d3979cfb9958d9a298f45fd6 100644 |
--- a/samplecode/GMSampleView.cpp |
+++ b/samplecode/GMSampleView.cpp |
@@ -14,7 +14,7 @@ GMSampleView::~GMSampleView() { |
} |
SkEvent* GMSampleView::NewShowSizeEvt(bool doShowSize) { |
- SkEvent* evt = SkNEW_ARGS(SkEvent, ("GMSampleView::showSize")); |
+ SkEvent* evt = new SkEvent("GMSampleView::showSize"); |
evt->setFast32(doShowSize); |
return evt; |
} |