WebKit Bugzilla
New
Browse
Log In
×
Sign in with GitHub
or
Remember my login
Create Account
·
Forgot Password
Forgotten password account recovery
RESOLVED FIXED
91580
[WK2][EFL] Add a common code using Color instead of QColor
https://bugs.webkit.org/show_bug.cgi?id=91580
Summary
[WK2][EFL] Add a common code using Color instead of QColor
YoungTaeck Song
Reported
2012-07-17 22:21:25 PDT
Created
attachment 152917
[details]
patch This patch is a subset of Efl's UI_SIDE_COMPOSITING implementation. drawBorder's argument is QColor. So add a common code using Color to be used by Efl.
Attachments
patch
(1.63 KB, patch)
2012-07-17 22:21 PDT
,
YoungTaeck Song
no flags
Details
Formatted Diff
Diff
patch
(1.63 KB, patch)
2012-07-17 22:28 PDT
,
YoungTaeck Song
no flags
Details
Formatted Diff
Diff
Patch
(1.75 KB, patch)
2012-07-18 01:55 PDT
,
YoungTaeck Song
no flags
Details
Formatted Diff
Diff
Show Obsolete
(2)
View All
Add attachment
proposed patch, testcase, etc.
WebKit Review Bot
Comment 1
2012-07-17 22:23:58 PDT
Attachment 152917
[details]
did not pass style-queue: Failed to run "['Tools/Scripts/check-webkit-style', '--diff-files', u'Source/WebKit2/ChangeLog', u'Source/WebKit..." exit_code: 1 Source/WebKit2/ChangeLog:1: ChangeLog entry has no bug number [changelog/bugnumber] [5] Total errors found: 1 in 2 files If any of these errors are false positives, please file a bug against check-webkit-style.
YoungTaeck Song
Comment 2
2012-07-17 22:28:02 PDT
Created
attachment 152924
[details]
patch miss bug number
Simon Hausmann
Comment 3
2012-07-18 00:33:38 PDT
Comment on
attachment 152924
[details]
patch View in context:
https://bugs.webkit.org/attachment.cgi?id=152924&action=review
> Source/WebKit2/UIProcess/texmap/LayerBackingStore.cpp:149 > +#if PLATFORM(QT) > textureMapper->drawBorder(QColor(Qt::red), 2, tile->rect(), transform); > +#else > + textureMapper->drawBorder(Color(Color::lightGray), 2, tile->rect(), transform); > +#endif
I think it would be better to _replace_ the use of QColor with Color (and either stick to lightGray or add red to Color::). Let's avoid #ifdefs if we can :)
YoungTaeck Song
Comment 4
2012-07-18 01:55:55 PDT
Created
attachment 152962
[details]
Patch
YoungTaeck Song
Comment 5
2012-07-18 01:58:24 PDT
(In reply to
comment #3
)
> (From update of
attachment 152924
[details]
) > View in context:
https://bugs.webkit.org/attachment.cgi?id=152924&action=review
> > > Source/WebKit2/UIProcess/texmap/LayerBackingStore.cpp:149 > > +#if PLATFORM(QT) > > textureMapper->drawBorder(QColor(Qt::red), 2, tile->rect(), transform); > > +#else > > + textureMapper->drawBorder(Color(Color::lightGray), 2, tile->rect(), transform); > > +#endif > > I think it would be better to _replace_ the use of QColor with Color (and either stick to lightGray or add red to Color::). Let's avoid #ifdefs if we can :)
Thank you for kind review. There is no Color::red in Color.h. So I used Color(0xFF, 0, 0).
WebKit Review Bot
Comment 6
2012-07-18 03:31:24 PDT
Comment on
attachment 152962
[details]
Patch Clearing flags on attachment: 152962 Committed
r122941
: <
http://trac.webkit.org/changeset/122941
>
WebKit Review Bot
Comment 7
2012-07-18 03:31:29 PDT
All reviewed patches have been landed. Closing bug.
Note
You need to
log in
before you can comment on or make changes to this bug.
Top of Page
Format For Printing
XML
Clone This Bug