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

Issue 814123003: Add handling for Skia's SkPath::intersect's return value (Closed)

Created:
5 years, 11 months ago by robertphillips
Modified:
5 years, 11 months ago
CC:
chromium-reviews, mlamouri+watch-content_chromium.org, tfarina, jam, darin-cc_chromium.org, mkwst+moarreviews-shell_chromium.org, jochen+watch_chromium.org, miu+watch_chromium.org
Base URL:
https://chromium.googlesource.com/chromium/src.git@master
Target Ref:
refs/pending/heads/master
Project:
chromium
Visibility:
Public.

Description

Add handling for Skia's SkPath::intersect's return value Skia https://codereview.chromium.org/833943002/ (It is dangerous to ignore SkRect::intersect's return value) will make ignoring SkPath::intersect's return value a warning. This CL proactively cleans up such call sites. skia-side: reed@ chrome/browser/ui: sky@ test_runner/test_runner: pfeldman@ or dpranke@ or creis@ Committed: https://crrev.com/19263a222694c0bf4daf4a66bcf75622ffb0b567 Cr-Commit-Position: refs/heads/master@{#310292}

Patch Set 1 #

Total comments: 3

Patch Set 2 : Return false from GetHitTestMask if there is no intersection #

Patch Set 3 : Removed braces #

Unified diffs Side-by-side diffs Delta from patch set Stats (+5 lines, -3 lines) Patch
M chrome/browser/ui/views/tabs/tab.cc View 1 1 chunk +2 lines, -2 lines 0 comments Download
M content/shell/renderer/test_runner/mock_web_theme_engine.cc View 1 2 1 chunk +3 lines, -1 line 0 comments Download

Messages

Total messages: 24 (9 generated)
robertphillips
5 years, 11 months ago (2015-01-02 21:13:34 UTC) #3
reed1
lgtm
5 years, 11 months ago (2015-01-05 14:39:19 UTC) #5
sky
+tdanderson for tab.cc changes. https://codereview.chromium.org/814123003/diff/1/chrome/browser/ui/views/tabs/tab.cc File chrome/browser/ui/views/tabs/tab.cc (right): https://codereview.chromium.org/814123003/diff/1/chrome/browser/ui/views/tabs/tab.cc#newcode714 chrome/browser/ui/views/tabs/tab.cc:714: if (intersection.intersect(RectToSkRect(clip))) { If the ...
5 years, 11 months ago (2015-01-05 16:32:44 UTC) #7
tdanderson
https://codereview.chromium.org/814123003/diff/1/chrome/browser/ui/views/tabs/tab.cc File chrome/browser/ui/views/tabs/tab.cc (right): https://codereview.chromium.org/814123003/diff/1/chrome/browser/ui/views/tabs/tab.cc#newcode714 chrome/browser/ui/views/tabs/tab.cc:714: if (intersection.intersect(RectToSkRect(clip))) { On 2015/01/05 16:32:44, sky wrote: > ...
5 years, 11 months ago (2015-01-05 17:16:44 UTC) #8
robertphillips
https://codereview.chromium.org/814123003/diff/1/chrome/browser/ui/views/tabs/tab.cc File chrome/browser/ui/views/tabs/tab.cc (right): https://codereview.chromium.org/814123003/diff/1/chrome/browser/ui/views/tabs/tab.cc#newcode714 chrome/browser/ui/views/tabs/tab.cc:714: if (intersection.intersect(RectToSkRect(clip))) { On 2015/01/05 17:16:43, tdanderson wrote: > ...
5 years, 11 months ago (2015-01-05 19:31:56 UTC) #9
tdanderson
Changes to tab.cc lgtm.
5 years, 11 months ago (2015-01-05 19:34:39 UTC) #10
sky
LGTM
5 years, 11 months ago (2015-01-05 20:43:01 UTC) #11
robertphillips
5 years, 11 months ago (2015-01-06 12:42:37 UTC) #14
robertphillips
5 years, 11 months ago (2015-01-06 20:09:11 UTC) #17
Charlie Reis
dpranke@ is probably a better reviewer for this, but it looks simple enough that I'll ...
5 years, 11 months ago (2015-01-06 22:21:41 UTC) #18
Dirk Pranke
On 2015/01/06 22:21:41, Charlie Reis wrote: > dpranke@ is probably a better reviewer for this, ...
5 years, 11 months ago (2015-01-07 02:16:55 UTC) #19
robertphillips
braces removed.
5 years, 11 months ago (2015-01-07 15:21:15 UTC) #20
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/patch-status/814123003/40001
5 years, 11 months ago (2015-01-07 15:22:09 UTC) #22
commit-bot: I haz the power
Committed patchset #3 (id:40001)
5 years, 11 months ago (2015-01-07 16:08:40 UTC) #23
commit-bot: I haz the power
5 years, 11 months ago (2015-01-07 16:09:22 UTC) #24
Message was sent while issue was closed.
Patchset 3 (id:??) landed as
https://crrev.com/19263a222694c0bf4daf4a66bcf75622ffb0b567
Cr-Commit-Position: refs/heads/master@{#310292}

Powered by Google App Engine
This is Rietveld 408576698