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

Side by Side Diff: Source/core/workers/WorkerGlobalScope.cpp

Issue 587393002: Oilpan: make Supplementable tracing more regular. (Closed) Base URL: https://chromium.googlesource.com/chromium/blink.git@master
Patch Set: Improve dummy trace() comment Created 6 years, 3 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View unified diff | Download patch
« no previous file with comments | « Source/core/workers/WorkerClients.h ('k') | Source/core/workers/WorkerNavigator.cpp » ('j') | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
1 /* 1 /*
2 * Copyright (C) 2008 Apple Inc. All Rights Reserved. 2 * Copyright (C) 2008 Apple Inc. All Rights Reserved.
3 * Copyright (C) 2009, 2011 Google Inc. All Rights Reserved. 3 * Copyright (C) 2009, 2011 Google Inc. All Rights Reserved.
4 * 4 *
5 * Redistribution and use in source and binary forms, with or without 5 * Redistribution and use in source and binary forms, with or without
6 * modification, are permitted provided that the following conditions 6 * modification, are permitted provided that the following conditions
7 * are met: 7 * are met:
8 * 1. Redistributions of source code must retain the above copyright 8 * 1. Redistributions of source code must retain the above copyright
9 * notice, this list of conditions and the following disclaimer. 9 * notice, this list of conditions and the following disclaimer.
10 * 2. Redistributions in binary form must reproduce the above copyright 10 * 2. Redistributions in binary form must reproduce the above copyright
(...skipping 308 matching lines...) Expand 10 before | Expand all | Expand 10 after
319 // FIXME: How should we count features for shared/service workers? 319 // FIXME: How should we count features for shared/service workers?
320 } 320 }
321 321
322 ConsoleMessageStorage* WorkerGlobalScope::messageStorage() 322 ConsoleMessageStorage* WorkerGlobalScope::messageStorage()
323 { 323 {
324 return m_messageStorage.get(); 324 return m_messageStorage.get();
325 } 325 }
326 326
327 void WorkerGlobalScope::trace(Visitor* visitor) 327 void WorkerGlobalScope::trace(Visitor* visitor)
328 { 328 {
329 #if ENABLE(OILPAN)
329 visitor->trace(m_console); 330 visitor->trace(m_console);
330 visitor->trace(m_location); 331 visitor->trace(m_location);
331 visitor->trace(m_navigator); 332 visitor->trace(m_navigator);
332 visitor->trace(m_workerInspectorController); 333 visitor->trace(m_workerInspectorController);
333 visitor->trace(m_eventQueue); 334 visitor->trace(m_eventQueue);
334 visitor->trace(m_workerClients); 335 visitor->trace(m_workerClients);
335 visitor->trace(m_messageStorage); 336 visitor->trace(m_messageStorage);
336 WillBeHeapSupplementable<WorkerGlobalScope>::trace(visitor); 337 HeapSupplementable<WorkerGlobalScope>::trace(visitor);
338 #endif
337 ExecutionContext::trace(visitor); 339 ExecutionContext::trace(visitor);
338 EventTargetWithInlineData::trace(visitor); 340 EventTargetWithInlineData::trace(visitor);
339 } 341 }
340 342
341 } // namespace blink 343 } // namespace blink
OLDNEW
« no previous file with comments | « Source/core/workers/WorkerClients.h ('k') | Source/core/workers/WorkerNavigator.cpp » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698