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

Issue 14810003: Move CPU() macro to it's own header from wtf/Platform.h (Closed)

Created:
7 years, 7 months ago by kbalazs_
Modified:
7 years, 7 months ago
Reviewers:
abarth-chromium
CC:
blink-reviews, jamesr, loislo+blink_chromium.org, eae+blinkwatch, yurys+blink_chromium.org, abarth-chromium, danakj, Rik, adamk+blink_chromium.org, Stephen Chennney, jeez, pdr.
Base URL:
https://chromium.googlesource.com/chromium/blink.git@master
Visibility:
Public.

Description

Move CPU() macro to it's own header from wtf/Platform.h Platform.h should be broken into pieces in order to minimize the need of world rebuilds. This is a step in that direction. CPU() related things have been moved to wtf/CPU.h which is made explicitly included where it is used. Also fixed include styles everywhere I walked. Committed: https://src.chromium.org/viewvc/blink?view=rev&revision=150638

Patch Set 1 #

Total comments: 1

Patch Set 2 : Move CPU() macro to it's own header from wtf/Platform.h #

Total comments: 1

Patch Set 3 : Move CPU() macro to it's own header from wtf/Platform.h #

Patch Set 4 : Move CPU() macro to it's own header from wtf/Platform.h #

Unified diffs Side-by-side diffs Delta from patch set Stats (+306 lines, -255 lines) Patch
M Source/WebKit/chromium/src/WebImageDecoder.cpp View 1 chunk +4 lines, -3 lines 0 comments Download
M Source/core/html/canvas/DataView.cpp View 1 chunk +1 line, -0 lines 0 comments Download
M Source/core/page/NavigatorBase.cpp View 1 chunk +3 lines, -2 lines 0 comments Download
M Source/core/platform/graphics/GraphicsContext3D.cpp View 1 2 3 1 chunk +1 line, -0 lines 0 comments Download
M Source/core/platform/graphics/cpu/arm/filters/FELightingNEON.h View 1 chunk +3 lines, -2 lines 0 comments Download
M Source/core/platform/graphics/transforms/TransformationMatrix.h View 1 chunk +2 lines, -1 line 0 comments Download
M Source/core/platform/image-decoders/bmp/BMPImageReader.h View 1 chunk +1 line, -0 lines 0 comments Download
M Source/core/platform/image-decoders/jpeg/JPEGImageDecoder.cpp View 1 2 1 chunk +2 lines, -1 line 0 comments Download
M Source/wtf/Atomics.h View 1 1 chunk +4 lines, -3 lines 0 comments Download
A Source/wtf/CPU.h View 1 2 1 chunk +254 lines, -0 lines 0 comments Download
M Source/wtf/FastMalloc.cpp View 1 2 chunks +5 lines, -4 lines 0 comments Download
M Source/wtf/MathExtras.h View 1 1 chunk +2 lines, -1 line 0 comments Download
M Source/wtf/Platform.h View 1 2 chunks +0 lines, -221 lines 0 comments Download
M Source/wtf/SizeLimits.cpp View 1 chunk +8 lines, -7 lines 0 comments Download
M Source/wtf/StdLibExtras.h View 1 chunk +3 lines, -2 lines 0 comments Download
M Source/wtf/dtoa.cpp View 1 chunk +4 lines, -3 lines 0 comments Download
M Source/wtf/dtoa/utils.h View 1 chunk +2 lines, -1 line 0 comments Download
M Source/wtf/text/ASCIIFastPath.h View 1 chunk +6 lines, -4 lines 0 comments Download
M Source/wtf/wtf.gypi View 1 1 chunk +1 line, -0 lines 0 comments Download

Messages

Total messages: 13 (0 generated)
kbalazs_
It's not good yet, CPU() is used in Platform.h in one place. That should also ...
7 years, 7 months ago (2013-05-15 15:21:16 UTC) #1
kbalazs_
On 2013/05/15 15:21:16, kbalazs wrote: > It's not good yet, CPU() is used in Platform.h ...
7 years, 7 months ago (2013-05-15 15:28:29 UTC) #2
abarth-chromium
lgtm Is the plan to eventually delete Platform.h? It looks like there's not much there ...
7 years, 7 months ago (2013-05-15 15:39:57 UTC) #3
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-status.appspot.com/cq/b.kelemen@sisa.samsung.com/14810003/1
7 years, 7 months ago (2013-05-15 15:40:08 UTC) #4
commit-bot: I haz the power
Failed to apply patch for Source/wtf/CPU.h: While running patch -p1 --forward --force --no-backup-if-mismatch; A Source/wtf/CPU.h ...
7 years, 7 months ago (2013-05-15 15:40:17 UTC) #5
kbalazs_
On 2013/05/15 15:39:57, abarth wrote: > lgtm > > Is the plan to eventually delete ...
7 years, 7 months ago (2013-05-16 11:09:34 UTC) #6
kbalazs_
> Right. I'm going to reupload. I heard it is not recommended to add copyrights ...
7 years, 7 months ago (2013-05-16 11:44:05 UTC) #7
kbalazs_
Trying with a bigger similarity index. I tried to find out how to make the ...
7 years, 7 months ago (2013-05-16 12:15:31 UTC) #8
lgombos
https://codereview.chromium.org/14810003/diff/8001/Source/wtf/CPU.h File Source/wtf/CPU.h (right): https://codereview.chromium.org/14810003/diff/8001/Source/wtf/CPU.h#newcode32 Source/wtf/CPU.h:32: #include <wtf/Compiler.h> This should be "wtf/Compiler.h".
7 years, 7 months ago (2013-05-17 19:19:45 UTC) #9
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-status.appspot.com/cq/b.kelemen@sisa.samsung.com/14810003/14001
7 years, 7 months ago (2013-05-17 19:49:03 UTC) #10
commit-bot: I haz the power
Failed to apply patch for Source/core/platform/graphics/GraphicsContext3D.cpp: While running patch -p1 --forward --force --no-backup-if-mismatch; patching file ...
7 years, 7 months ago (2013-05-17 20:40:42 UTC) #11
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-status.appspot.com/cq/b.kelemen@sisa.samsung.com/14810003/23001
7 years, 7 months ago (2013-05-19 21:42:53 UTC) #12
commit-bot: I haz the power
7 years, 7 months ago (2013-05-19 22:30:26 UTC) #13
Message was sent while issue was closed.
Change committed as 150638

Powered by Google App Engine
This is Rietveld 408576698