aboutsummaryrefslogtreecommitdiffhomepage
path: root/src/views/SkEventSink.cpp
diff options
context:
space:
mode:
authorGravatar halcanary <halcanary@google.com>2015-08-26 13:07:48 -0700
committerGravatar Commit bot <commit-bot@chromium.org>2015-08-26 13:07:49 -0700
commit385fe4d4b62d7d1dd76116dd570df3290a2f487b (patch)
tree53d982ff238828331e86acd44071a44162a8688c /src/views/SkEventSink.cpp
parent5015176adf046ef906a2313b6e6b64b72cc84898 (diff)
Style Change: SkNEW->new; SkDELETE->delete
Diffstat (limited to 'src/views/SkEventSink.cpp')
-rw-r--r--src/views/SkEventSink.cpp4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/views/SkEventSink.cpp b/src/views/SkEventSink.cpp
index 42c1ceb062..282f2b8ad6 100644
--- a/src/views/SkEventSink.cpp
+++ b/src/views/SkEventSink.cpp
@@ -148,7 +148,7 @@ void SkEventSink::addListenerID(SkEventSinkID id)
count = prev->countListners();
}
- SkListenersTagList* next = SkNEW_ARGS(SkListenersTagList, (count + 1));
+ SkListenersTagList* next = new SkListenersTagList(count + 1);
if (prev)
{
@@ -209,7 +209,7 @@ void SkEventSink::postToListeners(const SkEvent& evt, SkMSec delay) {
const SkEventSinkID* iter = list->fIDs;
const SkEventSinkID* stop = iter + list->countListners();
while (iter < stop) {
- SkEvent* copy = SkNEW_ARGS(SkEvent, (evt));
+ SkEvent* copy = new SkEvent(evt);
copy->setTargetID(*iter++)->postDelay(delay);
}
}