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

Issue 1988753002: media: Replace wtf/Assertions.h macros in favor of base/logging.h macros (Closed)

Created:
4 years, 7 months ago by Srirama
Modified:
4 years, 7 months ago
Reviewers:
fs, wolenetz
CC:
blink-reviews, blink-reviews-html_chromium.org, chromium-reviews, dglazkov+blink, eric.carlson_apple.com, feature-media-reviews_chromium.org, gasubic, mlamouri+watch-blink_chromium.org, philipj_slow, nessy, vcarbune.chromium
Base URL:
https://chromium.googlesource.com/chromium/src.git@master
Target Ref:
refs/pending/heads/master
Project:
chromium
Visibility:
Public.

Description

media: Replace wtf/Assertions.h macros in favor of base/logging.h macros Replace WTF_LOG macros with DVLOG in HTMLMediaElement.cpp BUG=596522 Committed: https://crrev.com/0dbdb7c7b7e7aebe2ab71db16c294699c59d50e1 Cr-Commit-Position: refs/heads/master@{#394742}

Patch Set 1 #

Total comments: 2

Patch Set 2 : address comments #

Patch Set 3 : address comments #

Total comments: 12

Patch Set 4 : address comments #

Patch Set 5 : Typecast 'this' pointer to 'void*' for printing pointer value #

Patch Set 6 : Typecast WebString to String in logs #

Patch Set 7 : Remove unnecessary LOG_DISABLED macro #

Total comments: 2
Unified diffs Side-by-side diffs Delta from patch set Stats (+87 lines, -103 lines) Patch
M third_party/WebKit/Source/core/html/HTMLMediaElement.cpp View 1 2 3 4 5 6 70 chunks +87 lines, -103 lines 2 comments Download

Messages

Total messages: 29 (12 generated)
Srirama
PTAL, there are few more places to change, i will do it based on the ...
4 years, 7 months ago (2016-05-17 13:27:37 UTC) #3
fs
Personally I'm not a big fan of these types of logging statements, but if others ...
4 years, 7 months ago (2016-05-17 13:59:07 UTC) #4
Srirama
On 2016/05/17 13:59:07, fs wrote: > Personally I'm not a big fan of these types ...
4 years, 7 months ago (2016-05-18 11:22:31 UTC) #7
fs
On 2016/05/18 at 11:22:31, srirama.m wrote: > On 2016/05/17 13:59:07, fs wrote: > > Personally ...
4 years, 7 months ago (2016-05-18 11:29:31 UTC) #8
Srirama
On 2016/05/18 11:29:31, fs wrote: > On 2016/05/18 at 11:22:31, srirama.m wrote: > > On ...
4 years, 7 months ago (2016-05-18 13:04:08 UTC) #9
fs
> > > ok, i tested the logs and it is printing tag name (VIDEO) ...
4 years, 7 months ago (2016-05-18 13:24:36 UTC) #10
Srirama
I removed it because I couldn't find a way to log the pointer. Is there ...
4 years, 7 months ago (2016-05-18 13:55:01 UTC) #11
fs
On 2016/05/18 at 13:55:01, srirama.m wrote: > I removed it because I couldn't find a ...
4 years, 7 months ago (2016-05-18 14:12:33 UTC) #12
Srirama
On 2016/05/18 14:12:33, fs wrote: > On 2016/05/18 at 13:55:01, srirama.m wrote: > > I ...
4 years, 7 months ago (2016-05-18 15:28:13 UTC) #14
fs
lgtm > Removed unnecessary utf8() and ascii() conversions except the places where WebString is used. ...
4 years, 7 months ago (2016-05-18 16:16:23 UTC) #15
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/patch-status/1988753002/140001 View timeline at https://chromium-cq-status.appspot.com/patch-timeline/1988753002/140001
4 years, 7 months ago (2016-05-19 05:22:38 UTC) #18
commit-bot: I haz the power
Try jobs failed on following builders: chromeos_daisy_chromium_compile_only_ng on tryserver.chromium.linux (JOB_FAILED, http://build.chromium.org/p/tryserver.chromium.linux/builders/chromeos_daisy_chromium_compile_only_ng/builds/140097)
4 years, 7 months ago (2016-05-19 05:46:38 UTC) #20
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/patch-status/1988753002/160001 View timeline at https://chromium-cq-status.appspot.com/patch-timeline/1988753002/160001
4 years, 7 months ago (2016-05-19 10:21:28 UTC) #23
commit-bot: I haz the power
Committed patchset #7 (id:160001)
4 years, 7 months ago (2016-05-19 11:59:25 UTC) #24
commit-bot: I haz the power
Patchset 7 (id:??) landed as https://crrev.com/0dbdb7c7b7e7aebe2ab71db16c294699c59d50e1 Cr-Commit-Position: refs/heads/master@{#394742}
4 years, 7 months ago (2016-05-19 12:01:16 UTC) #26
wolenetz
Perhaps I'm confused, but the commit message somewhat implies that not just WTF_LOG -> DVLOG ...
4 years, 7 months ago (2016-05-19 17:43:36 UTC) #28
Srirama
4 years, 7 months ago (2016-05-19 19:01:17 UTC) #29
Message was sent while issue was closed.
On 2016/05/19 17:43:36, wolenetz wrote:
> Perhaps I'm confused, but the commit message somewhat implies that not just
> WTF_LOG -> DVLOG is done here, but also other base/logging.h macros. Are
> NOTREACHED(),{D}VLOG(...), etc. changes planned for HTMLMediaElement in a
later
> change?
> 
>
https://codereview.chromium.org/1988753002/diff/160001/third_party/WebKit/Sou...
> File third_party/WebKit/Source/core/html/HTMLMediaElement.cpp (right):
> 
>
https://codereview.chromium.org/1988753002/diff/160001/third_party/WebKit/Sou...
> third_party/WebKit/Source/core/html/HTMLMediaElement.cpp:899:
> ASSERT_NOT_REACHED();
> nit: NOTREACHED() ?
> 
>
https://codereview.chromium.org/1988753002/diff/160001/third_party/WebKit/Sou...
> third_party/WebKit/Source/core/html/HTMLMediaElement.cpp:905:
> ASSERT(m_srcObject);
> nit: DCHECK(...) ?

There are too many WTF_LOG messages here, that i forgot about other macros. I
will upload those changes tomorrow.

Powered by Google App Engine
This is Rietveld 408576698