Bug 150275 - Rename the PICTURE_SIZES flag to CURRENTSRC
Summary: Rename the PICTURE_SIZES flag to CURRENTSRC
Status: RESOLVED FIXED
Alias: None
Product: WebKit
Classification: Unclassified
Component: New Bugs (show other bugs)
Version: WebKit Nightly Build
Hardware: Unspecified Unspecified
: P2 Normal
Assignee: Nobody
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2015-10-17 03:00 PDT by Yoav Weiss
Modified: 2015-10-20 02:50 PDT (History)
4 users (show)

See Also:


Attachments
Patch (52.68 KB, patch)
2015-10-17 03:01 PDT, Yoav Weiss
no flags Details | Formatted Diff | Diff
Patch (52.71 KB, patch)
2015-10-17 03:07 PDT, Yoav Weiss
no flags Details | Formatted Diff | Diff
Patch (54.21 KB, patch)
2015-10-19 01:04 PDT, Yoav Weiss
no flags Details | Formatted Diff | Diff
Patch (59.94 KB, patch)
2015-10-20 00:53 PDT, Yoav Weiss
no flags Details | Formatted Diff | Diff
Patch (60.22 KB, patch)
2015-10-20 01:28 PDT, Yoav Weiss
no flags Details | Formatted Diff | Diff

Note You need to log in before you can comment on or make changes to this bug.
Description Yoav Weiss 2015-10-17 03:00:37 PDT
Rename the PICTURE_SIZES flag to CURRENTSRC
Comment 1 Yoav Weiss 2015-10-17 03:01:46 PDT
Created attachment 263369 [details]
Patch
Comment 2 WebKit Commit Bot 2015-10-17 03:03:55 PDT
Attachment 263369 [details] did not pass style-queue:


ERROR: Source/WebCore/ChangeLog:8:  You should remove the 'No new tests' and either add and list tests, or explain why no new tests were possible.  [changelog/nonewtests] [5]
Total errors found: 1 in 22 files


If any of these errors are false positives, please file a bug against check-webkit-style.
Comment 3 Yoav Weiss 2015-10-17 03:07:18 PDT
Created attachment 263370 [details]
Patch
Comment 4 Yoav Weiss 2015-10-17 03:08:11 PDT
As a split from https://bugs.webkit.org/show_bug.cgi?id=150230 this patch renames the PICTURE_SIZES flag into CURRENTSRC (which is the attribute that this flag is used for now).
Comment 5 Yoav Weiss 2015-10-19 01:04:27 PDT
Created attachment 263454 [details]
Patch
Comment 6 Dean Jackson 2015-10-19 23:06:33 PDT
Comment on attachment 263454 [details]
Patch

View in context: https://bugs.webkit.org/attachment.cgi?id=263454&action=review

> Source/JavaScriptCore/Configurations/FeatureDefines.xcconfig:156
> -ENABLE_PICTURE_SIZES = ;
> +ENABLE_CURRENTSRC = ;

These files are slightly sorted. You should probably move CURRENTSRC to earlier in the list.

> Source/cmake/WebKitFeatures.cmake:134
> -    WEBKIT_OPTION_DEFINE(ENABLE_PICTURE_SIZES "Toggle sizes attribute support" PRIVATE OFF)
> +    WEBKIT_OPTION_DEFINE(ENABLE_CURRENTSRC "Toggle currentSrc attribute support" PRIVATE OFF)

Same here.
Comment 7 Yoav Weiss 2015-10-20 00:53:39 PDT
Created attachment 263557 [details]
Patch
Comment 8 Yoav Weiss 2015-10-20 01:28:11 PDT
Created attachment 263559 [details]
Patch
Comment 9 Yoav Weiss 2015-10-20 01:41:14 PDT
Thanks for reviewing! :) Re-sorted these files and some others.
Comment 10 WebKit Commit Bot 2015-10-20 02:50:27 PDT
Comment on attachment 263559 [details]
Patch

Clearing flags on attachment: 263559

Committed r191334: <http://trac.webkit.org/changeset/191334>
Comment 11 WebKit Commit Bot 2015-10-20 02:50:31 PDT
All reviewed patches have been landed.  Closing bug.