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

Issue 1777323004: Revert of [DevTools] Remove extra plumbing from InspectorWorkerAgent, prepare to multi-client. (Closed)

Created:
4 years, 9 months ago by alexmos
Modified:
4 years, 9 months ago
Reviewers:
dgozman, pfeldman
CC:
chromium-reviews, kinuko+worker_chromium.org, caseq+blink_chromium.org, lushnikov+blink_chromium.org, falken, pfeldman+blink_chromium.org, apavlov+blink_chromium.org, devtools-reviews_chromium.org, blink-reviews, horo+watch_chromium.org, sergeyv+blink_chromium.org, blink-worker-reviews_chromium.org, kozyatinskiy+blink_chromium.org
Base URL:
https://chromium.googlesource.com/chromium/src.git@master
Target Ref:
refs/pending/heads/master
Project:
chromium
Visibility:
Public.

Description

Revert of [DevTools] Remove extra plumbing from InspectorWorkerAgent, prepare to multi-client. (patchset #3 id:40001 of https://codereview.chromium.org/1774323002/ ) Reason for revert: Seems to have broken compile on WebKit Linux non-Oilpan Builder: https://build.chromium.org/p/chromium.webkit/builders/WebKit%20Linux%20non-Oilpan%20Builder/builds/2317 Output snippet: In file included from ../../third_party/WebKit/Source/core/inspector/PageConsoleAgent.cpp:31: In file included from ../../third_party/WebKit/Source/core/inspector/PageConsoleAgent.h:35: In file included from ../../third_party/WebKit/Source/core/inspector/InspectorConsoleAgent.h:29: In file included from ../../third_party/WebKit/Source/core/inspector/InspectorBaseAgent.h:35: In file included from ../../third_party/WebKit/Source/core/inspector/InstrumentingAgents.h:1: In file included from gen/blink/core/InstrumentingAgentsInl.h:7: In file included from ../../third_party/WebKit/Source/platform/heap/Handle.h:35: In file included from ../../third_party/WebKit/Source/platform/heap/HeapAllocator.h:9: ../../third_party/WebKit/Source/platform/heap/TraceTraits.h:173:5: error: static_assert failed "T should be traced" static_assert(WTF::NeedsTracing<T>::value || WTF::IsWeak<T>::value, "T should be traced"); ^ ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ../../third_party/WebKit/Source/platform/heap/Visitor.h:193:24: note: in instantiation of member function 'blink::TraceTrait<WTF::HashSet<WTF::RawPtr<blink::WorkerInspectorProxy>, WTF::PtrHash<WTF::RawPtr<blink::WorkerInspectorProxy> >, WTF::HashTraits<WTF::RawPtr<blink::WorkerInspectorProxy> >, WTF::PartitionAllocator> >::trace' requested here TraceTrait<T>::trace(Derived::fromHelper(this), &const_cast<T&>(t)); ^ ../../third_party/WebKit/Source/core/inspector/PageConsoleAgent.cpp:67:14: note: in instantiation of function template specialization 'blink::VisitorHelper<blink::Visitor>::trace<WTF::HashSet<WTF::RawPtr<blink::WorkerInspectorProxy>, WTF::PtrHash<WTF::RawPtr<blink::WorkerInspectorProxy> >, WTF::HashTraits<WTF::RawPtr<blink::WorkerInspectorProxy> >, WTF::PartitionAllocator> >' requested here visitor->trace(m_workersWithEnabledConsole); ^ ../../third_party/WebKit/Source/core/inspector/PageConsoleAgent.cpp:63:1: note: in instantiation of function template specialization 'blink::PageConsoleAgent::traceImpl<blink::Visitor *>' requested here DEFINE_TRACE(PageConsoleAgent) ^ ../../third_party/WebKit/Source/platform/heap/Visitor.h:77:39: note: expanded from macro 'DEFINE_TRACE' void T::trace(Visitor* visitor) { traceImpl(visitor); } \ ^ Original issue's description: > [DevTools] Remove extra plumbing from InspectorWorkerAgent, prepare to multi-client. > > For multiclient, we will move the global collection of WorkerInspectorProxy objects > to a static collection in WorkerInspectorProxy class. > > BUG=590878 > > Committed: https://crrev.com/fe63b6b42585c51c7ab9a3b158b20d08d5b552dd > Cr-Commit-Position: refs/heads/master@{#380666} TBR=pfeldman@chromium.org,dgozman@chromium.org # Skipping CQ checks because original CL landed less than 1 days ago. NOPRESUBMIT=true NOTREECHECKS=true NOTRY=true BUG=590878 Committed: https://crrev.com/34f22b83b76ac457f93d35aece3ed56657689d7d Cr-Commit-Position: refs/heads/master@{#380668}

Patch Set 1 #

Unified diffs Side-by-side diffs Delta from patch set Stats (+229 lines, -151 lines) Patch
M third_party/WebKit/Source/core/frame/FrameConsole.h View 2 chunks +2 lines, -2 lines 0 comments Download
M third_party/WebKit/Source/core/frame/FrameConsole.cpp View 1 chunk +1 line, -1 line 0 comments Download
M third_party/WebKit/Source/core/inspector/ConsoleMessage.h View 3 chunks +4 lines, -4 lines 0 comments Download
M third_party/WebKit/Source/core/inspector/ConsoleMessage.cpp View 2 chunks +0 lines, -2 lines 0 comments Download
M third_party/WebKit/Source/core/inspector/ConsoleMessageStorage.h View 1 chunk +1 line, -1 line 0 comments Download
M third_party/WebKit/Source/core/inspector/ConsoleMessageStorage.cpp View 1 chunk +3 lines, -3 lines 0 comments Download
M third_party/WebKit/Source/core/inspector/InspectorConsoleAgent.cpp View 1 chunk +1 line, -1 line 0 comments Download
M third_party/WebKit/Source/core/inspector/InspectorInstrumentation.idl View 1 chunk +1 line, -1 line 0 comments Download
M third_party/WebKit/Source/core/inspector/InspectorWorkerAgent.h View 3 chunks +42 lines, -15 lines 0 comments Download
M third_party/WebKit/Source/core/inspector/InspectorWorkerAgent.cpp View 3 chunks +116 lines, -80 lines 0 comments Download
M third_party/WebKit/Source/core/inspector/PageConsoleAgent.h View 2 chunks +3 lines, -2 lines 0 comments Download
M third_party/WebKit/Source/core/inspector/PageConsoleAgent.cpp View 3 chunks +11 lines, -6 lines 0 comments Download
M third_party/WebKit/Source/core/workers/WorkerInspectorProxy.h View 1 chunk +11 lines, -9 lines 0 comments Download
M third_party/WebKit/Source/core/workers/WorkerInspectorProxy.cpp View 5 chunks +4 lines, -16 lines 0 comments Download
M third_party/WebKit/Source/core/workers/WorkerMessagingProxy.h View 1 chunk +1 line, -0 lines 0 comments Download
M third_party/WebKit/Source/core/workers/WorkerMessagingProxy.cpp View 5 chunks +19 lines, -6 lines 0 comments Download
M third_party/WebKit/Source/web/WebEmbeddedWorkerImpl.cpp View 1 chunk +4 lines, -1 line 0 comments Download
M third_party/WebKit/Source/web/WebSharedWorkerImpl.cpp View 1 chunk +5 lines, -1 line 0 comments Download

Messages

Total messages: 9 (2 generated)
alexmos
Created Revert of [DevTools] Remove extra plumbing from InspectorWorkerAgent, prepare to multi-client.
4 years, 9 months ago (2016-03-11 18:12:16 UTC) #1
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/patch-status/1777323004/1 View timeline at https://chromium-cq-status.appspot.com/patch-timeline/1777323004/1
4 years, 9 months ago (2016-03-11 18:13:16 UTC) #2
commit-bot: I haz the power
Committed patchset #1 (id:1)
4 years, 9 months ago (2016-03-11 18:14:11 UTC) #4
commit-bot: I haz the power
Patchset 1 (id:??) landed as https://crrev.com/34f22b83b76ac457f93d35aece3ed56657689d7d Cr-Commit-Position: refs/heads/master@{#380668}
4 years, 9 months ago (2016-03-11 18:15:37 UTC) #6
dgozman
Don't we have a CQ bot for this? Why patch got committed if it doesn't ...
4 years, 9 months ago (2016-03-11 18:28:22 UTC) #7
alexmos
On 2016/03/11 18:28:22, dgozman wrote: > Don't we have a CQ bot for this? Why ...
4 years, 9 months ago (2016-03-11 18:41:18 UTC) #8
Dirk Pranke
4 years, 9 months ago (2016-03-11 18:50:42 UTC) #9
Message was sent while issue was closed.
On 2016/03/11 18:41:18, alexmos wrote:
> On 2016/03/11 18:28:22, dgozman wrote:
> > Don't we have a CQ bot for this? Why patch got committed if it doesn't
compile
> > on some configuration?
> 
> +dpranke.  Dirk, do you know why this managed to pass the CQ?

The non-oilpan waterfall configuration is tested on the CQ by the
"linux_blink_oilpan_rel" (yes, the names are confusing).

Unfortunately, it looks like that's still considered an "experimental" bot, and
so the failures it had on that patch didn't block the CQ.

I'll post a CL today to make it non-experimental, though we're probably going to
remove the non-oilpan config altogether within
a few weeks.

Powered by Google App Engine
This is Rietveld 408576698