forked from chromium/chromium
-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Replace UseCounter::Feature by WebFeature in Blink
Script used in third_party/WebKit/ for f in $(find -name "*.cpp" -or -name "*.h"); do ### Replace enum values UseCounter::kFeatureName by WebFeature::kFeatureName sed -i 's/UseCounter::k/WebFeature::k/g' "$f" sed -i ':a;N;!ba;s/UseCounter::\n\s*k/WebFeature::k/g' "$f" ### Replace enum type UseCounter::Feature by WebFeature sed -i 's/UseCounter::Feature /WebFeature /g' "$f" ### Undo changes to UseCounter::Context sed -i 's/WebFeature::kDefaultContext/UseCounter::kDefaultContext/g' "$f" sed -i 's/WebFeature::kSVGImageContext/UseCounter::kSVGImageContext/g' "$f" sed -i 's/WebFeature::kExtensionContext/UseCounter::kExtensionContext/g' "$f" sed -i 's/WebFeature::kDisabledContext/UseCounter::kDisabledContext/g' "$f" done Additional changes in *Internals.cpp: static_cast<uint32_t>(WebFeature::kNumberOfFeatures) *bi_opt* feature Additional changes in UseCounter.h, UseCounter.cpp, Deprecation.h A few additional casting is also added. Bug: 724287 Cq-Include-Trybots: master.tryserver.chromium.android:android_optional_gpu_tests_rel;master.tryserver.chromium.linux:linux_layout_tests_slimming_paint_v2;master.tryserver.chromium.linux:linux_optional_gpu_tests_rel;master.tryserver.chromium.mac:mac_optional_gpu_tests_rel;master.tryserver.chromium.win:win_optional_gpu_tests_rel Change-Id: I0e18a017542c4d6bb5ddf0f50a3522dfe115dba1 Reviewed-on: https://chromium-review.googlesource.com/524144 Commit-Queue: Luna Lu <[email protected]> Reviewed-by: Kentaro Hara <[email protected]> Cr-Commit-Position: refs/heads/master@{#477785}
- Loading branch information
Showing
270 changed files
with
1,066 additions
and
1,129 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.