WebKit Bugzilla
New
Browse
Log In
×
Sign in with GitHub
or
Remember my login
Create Account
·
Forgot Password
Forgotten password account recovery
RESOLVED FIXED
126607
Web Inspector: Remove leftover 'device metrics' code
https://bugs.webkit.org/show_bug.cgi?id=126607
Summary
Web Inspector: Remove leftover 'device metrics' code
Seokju Kwon
Reported
2014-01-07 17:05:18 PST
Removes unused code related to 'device metrics'.
Attachments
Patch
(29.81 KB, patch)
2014-01-07 17:17 PST
,
Seokju Kwon
no flags
Details
Formatted Diff
Diff
Patch
(29.93 KB, patch)
2014-01-07 17:37 PST
,
Seokju Kwon
no flags
Details
Formatted Diff
Diff
Patch
(29.93 KB, patch)
2014-01-07 17:42 PST
,
Seokju Kwon
no flags
Details
Formatted Diff
Diff
Show Obsolete
(2)
View All
Add attachment
proposed patch, testcase, etc.
Radar WebKit Bug Importer
Comment 1
2014-01-07 17:06:17 PST
<
rdar://problem/15768387
>
Seokju Kwon
Comment 2
2014-01-07 17:17:43 PST
Created
attachment 220571
[details]
Patch
Joseph Pecoraro
Comment 3
2014-01-07 17:33:33 PST
Comment on
attachment 220571
[details]
Patch View in context:
https://bugs.webkit.org/attachment.cgi?id=220571&action=review
r=me, one nit
> Source/WebCore/rendering/TextAutosizer.cpp:119 > if (windowInfo.windowSize.isEmpty()) { > - bool includeScrollbars = !InspectorInstrumentation::shouldApplyScreenWidthOverride(&mainFrame); > - windowInfo.windowSize = mainFrame.view()->unscaledVisibleContentSize(includeScrollbars ? ScrollableArea::IncludeScrollbars : ScrollableArea::ExcludeScrollbars); > + windowInfo.windowSize = mainFrame.view()->unscaledVisibleContentSize(ScrollableArea::IncludeScrollbars); > }
Style: Remove the braces for this if now that it is s single statement.
Seokju Kwon
Comment 4
2014-01-07 17:37:12 PST
(In reply to
comment #3
)
> (From update of
attachment 220571
[details]
) > View in context:
https://bugs.webkit.org/attachment.cgi?id=220571&action=review
> > r=me, one nit > > > Source/WebCore/rendering/TextAutosizer.cpp:119 > > if (windowInfo.windowSize.isEmpty()) { > > - bool includeScrollbars = !InspectorInstrumentation::shouldApplyScreenWidthOverride(&mainFrame); > > - windowInfo.windowSize = mainFrame.view()->unscaledVisibleContentSize(includeScrollbars ? ScrollableArea::IncludeScrollbars : ScrollableArea::ExcludeScrollbars); > > + windowInfo.windowSize = mainFrame.view()->unscaledVisibleContentSize(ScrollableArea::IncludeScrollbars); > > } > > Style: Remove the braces for this if now that it is s single statement.
Thanks. I will fix it.
Seokju Kwon
Comment 5
2014-01-07 17:37:24 PST
Created
attachment 220574
[details]
Patch
Seokju Kwon
Comment 6
2014-01-07 17:42:06 PST
Created
attachment 220576
[details]
Patch
WebKit Commit Bot
Comment 7
2014-01-07 18:16:50 PST
Comment on
attachment 220576
[details]
Patch Clearing flags on attachment: 220576 Committed
r161477
: <
http://trac.webkit.org/changeset/161477
>
WebKit Commit Bot
Comment 8
2014-01-07 18:16:52 PST
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