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

Issue 287593005: Inline noop willFoo/didFoo into SkCanvas.h. (Closed)

Created:
6 years, 7 months ago by mtklein_C
Modified:
6 years, 7 months ago
CC:
skia-review_googlegroups.com
Base URL:
https://skia.googlesource.com/skia.git@master
Visibility:
Public.

Description

Inline noop willFoo/didFoo into SkCanvas.h. We've got our canvas subclasses all calling back up to these via INHERITED, all noops. That's fine but currently a little sad as they can't be optimized away without link-time optimization, which we and Chrome only do on Windows. We actually make a call for each of these today on non-Windows. So, move the empty implementations into the header so those chaining calls really can be optimized away. BUG=skia: Committed: http://code.google.com/p/skia/source/detail?r=14722

Patch Set 1 #

Unified diffs Side-by-side diffs Delta from patch set Stats (+7 lines, -27 lines) Patch
M include/core/SkCanvas.h View 1 chunk +7 lines, -5 lines 0 comments Download
M src/core/SkCanvas.cpp View 5 chunks +0 lines, -22 lines 0 comments Download

Messages

Total messages: 10 (0 generated)
mtklein
As an alternative to crrev.com/280313002, let's fix all canvas subclasses.
6 years, 7 months ago (2014-05-13 15:04:38 UTC) #1
reed1
I'm fine with either change. deferring to florin. lgtm
6 years, 7 months ago (2014-05-13 15:07:17 UTC) #2
f(malita)
LGTM I like this better, thanks!
6 years, 7 months ago (2014-05-13 21:03:52 UTC) #3
mtklein
The CQ bit was checked by mtklein@google.com
6 years, 7 months ago (2014-05-13 23:46:12 UTC) #4
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://skia-tree-status.appspot.com/cq/mtklein@chromium.org/287593005/1
6 years, 7 months ago (2014-05-13 23:46:26 UTC) #5
commit-bot: I haz the power
The CQ bit was unchecked by commit-bot@chromium.org
6 years, 7 months ago (2014-05-13 23:53:13 UTC) #6
commit-bot: I haz the power
Failed to apply patch for include/core/SkCanvas.h: While running patch -p1 --forward --force --no-backup-if-mismatch; can't find ...
6 years, 7 months ago (2014-05-13 23:53:13 UTC) #7
mtklein
The CQ bit was checked by mtklein@google.com
6 years, 7 months ago (2014-05-14 13:13:29 UTC) #8
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://skia-tree-status.appspot.com/cq/mtklein@chromium.org/287593005/1
6 years, 7 months ago (2014-05-14 13:13:35 UTC) #9
commit-bot: I haz the power
6 years, 7 months ago (2014-05-14 13:13:46 UTC) #10
Message was sent while issue was closed.
Change committed as 14722

Powered by Google App Engine
This is Rietveld 408576698