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

Issue 349183006: Use ScriptController to call callback in MediaQueryListListener (Closed)

Created:
6 years, 6 months ago by kihong
Modified:
6 years, 6 months ago
Reviewers:
haraken, bashi
CC:
blink-reviews, kenneth.christiansen, Yoav Weiss, blink-reviews-css, ed+blinkwatch_opera.com, dglazkov+blink, apavlov+blink_chromium.org, darktears, rune+blink, rwlbuis
Base URL:
https://chromium.googlesource.com/chromium/blink.git@master
Project:
blink
Visibility:
Public.

Description

Use ScriptController to call callback in MediaQueryListListener MediaQueryListListener uses invokeCallback which is in "V8Binding". But it could use "ScriptController" directly. This change makes invokeCallback could be removed from V8Binding. BUG=388049 Committed: https://src.chromium.org/viewvc/blink?view=rev&revision=176818

Patch Set 1 #

Total comments: 2

Patch Set 2 : Patch for landing #

Unified diffs Side-by-side diffs Delta from patch set Stats (+3 lines, -3 lines) Patch
M Source/core/css/MediaQueryListListener.h View 1 chunk +1 line, -1 line 0 comments Download
M Source/core/css/MediaQueryListListener.cpp View 1 2 chunks +2 lines, -2 lines 0 comments Download

Messages

Total messages: 7 (0 generated)
kihong
PTAL
6 years, 6 months ago (2014-06-24 03:51:20 UTC) #1
haraken
LGTM. https://codereview.chromium.org/349183006/diff/1/Source/core/css/MediaQueryListListener.cpp File Source/core/css/MediaQueryListListener.cpp (right): https://codereview.chromium.org/349183006/diff/1/Source/core/css/MediaQueryListListener.cpp#newcode42 Source/core/css/MediaQueryListListener.cpp:42: ScriptController::callFunction(m_scriptState.get()->executionContext(), v8::Handle<v8::Function>::Cast(m_function.v8Value()), m_scriptState.get()->context()->Global(), WTF_ARRAY_LENGTH(args), args, m_scriptState.get()->isolate()); m_scriptState->context()->Global() will ...
6 years, 6 months ago (2014-06-24 03:58:51 UTC) #2
kihong
On 2014/06/24 03:58:51, haraken wrote: > LGTM. > > https://codereview.chromium.org/349183006/diff/1/Source/core/css/MediaQueryListListener.cpp > File Source/core/css/MediaQueryListListener.cpp (right): > ...
6 years, 6 months ago (2014-06-24 04:08:34 UTC) #3
kihong
The CQ bit was checked by kihong.kwon@samsung.com
6 years, 6 months ago (2014-06-24 04:29:42 UTC) #4
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-status.appspot.com/cq/kihong.kwon@samsung.com/349183006/20001
6 years, 6 months ago (2014-06-24 04:30:35 UTC) #5
commit-bot: I haz the power
FYI, CQ is re-trying this CL (attempt #1). The failing builders are: win_blink_rel on tryserver.blink ...
6 years, 6 months ago (2014-06-24 05:33:55 UTC) #6
commit-bot: I haz the power
6 years, 6 months ago (2014-06-24 06:36:38 UTC) #7
Message was sent while issue was closed.
Change committed as 176818

Powered by Google App Engine
This is Rietveld 408576698