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

Issue 928033003: Ensure that Heap.h (not Visitor.h) is #included from Oilpan user code

Created:
5 years, 10 months ago by kouhei (in TOK)
Modified:
4 years ago
Reviewers:
oilpan-reviews, haraken
CC:
blink-reviews, haraken, oilpan-reviews, scheib+watch_chromium.org, kouhei+heap_chromium.org, Mads Ager (chromium)
Target Ref:
refs/heads/master
Project:
blink
Visibility:
Public.

Description

Ensure that Heap.h (not Visitor.h) is #included from Oilpan user code Some Oilpan user code included "platform/heap/Visitor.h" instead of "platform/heap/Heap.h". This CL adds a preprocessor check to prevent such mistakes. Original idea from tyoshino@. BUG=420515

Patch Set 1 #

Total comments: 2
Unified diffs Side-by-side diffs Delta from patch set Stats (+6 lines, -2 lines) Patch
M Source/modules/bluetooth/BluetoothDiscovery.h View 1 chunk +1 line, -1 line 1 comment Download
M Source/platform/heap/Visitor.h View 1 chunk +4 lines, -0 lines 1 comment Download
M Source/platform/heap/Visitor.cpp View 1 chunk +1 line, -0 lines 0 comments Download
M Source/web/PluginPlaceholderImpl.h View 1 chunk +0 lines, -1 line 0 comments Download

Messages

Total messages: 11 (4 generated)
kouhei (in TOK)
5 years, 10 months ago (2015-02-16 04:45:13 UTC) #2
haraken
https://codereview.chromium.org/928033003/diff/1/Source/modules/bluetooth/BluetoothDiscovery.h File Source/modules/bluetooth/BluetoothDiscovery.h (right): https://codereview.chromium.org/928033003/diff/1/Source/modules/bluetooth/BluetoothDiscovery.h#newcode9 Source/modules/bluetooth/BluetoothDiscovery.h:9: #include "platform/heap/Heap.h" Heap.h => Handle.h https://codereview.chromium.org/928033003/diff/1/Source/platform/heap/Visitor.h File Source/platform/heap/Visitor.h (right): ...
5 years, 10 months ago (2015-02-16 04:50:45 UTC) #4
kouhei (in TOK)
> If we want to force some convention, we should force Handle.h (in almost all ...
5 years, 10 months ago (2015-02-16 04:55:57 UTC) #5
tyoshino (SeeGerritForStatus)
On 2015/02/16 04:55:57, kouhei wrote: > > If we want to force some convention, we ...
5 years, 10 months ago (2015-02-16 06:26:47 UTC) #6
tyoshino (SeeGerritForStatus)
This is obsolete. Closing.
4 years ago (2016-12-07 10:46:30 UTC) #7
tyoshino (SeeGerritForStatus)
On 2016/12/07 10:46:30, tyoshino wrote: > This is obsolete. Closing. Oops. This is not my ...
4 years ago (2016-12-07 10:47:25 UTC) #8
tyoshino (SeeGerritForStatus)
4 years ago (2016-12-07 10:48:07 UTC) #11
On 2016/12/07 10:47:25, tyoshino wrote:
> On 2016/12/07 10:46:30, tyoshino wrote:
> > This is obsolete. Closing.
> 
> Oops. This is not my change. Sorry. But it should be ok to close this.

Removing myself from R line.

Powered by Google App Engine
This is Rietveld 408576698