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

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

Issue 812913002: Oilpan: fix build after r187386. (Closed) Base URL: svn://svn.chromium.org/blink/trunk
Patch Set: Created 6 years 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 | Annotate | Revision Log
« no previous file with comments | « Source/core/workers/WorkerGlobalScope.h ('k') | no next file » | 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 326 matching lines...) Expand 10 before | Expand all | Expand 10 after
337 // FIXME: How should we count features for shared/service workers? 337 // FIXME: How should we count features for shared/service workers?
338 } 338 }
339 339
340 ConsoleMessageStorage* WorkerGlobalScope::messageStorage() 340 ConsoleMessageStorage* WorkerGlobalScope::messageStorage()
341 { 341 {
342 return m_messageStorage.get(); 342 return m_messageStorage.get();
343 } 343 }
344 344
345 void WorkerGlobalScope::exceptionHandled(int exceptionId, bool isHandled) 345 void WorkerGlobalScope::exceptionHandled(int exceptionId, bool isHandled)
346 { 346 {
347 RefPtr<ConsoleMessage> consoleMessage = m_pendingMessages.take(exceptionId); 347 RefPtrWillBeRawPtr<ConsoleMessage> consoleMessage = m_pendingMessages.take(e xceptionId);
348 if (!isHandled) 348 if (!isHandled)
349 addConsoleMessage(consoleMessage.release()); 349 addConsoleMessage(consoleMessage.release());
350 } 350 }
351 351
352 void WorkerGlobalScope::trace(Visitor* visitor) 352 void WorkerGlobalScope::trace(Visitor* visitor)
353 { 353 {
354 #if ENABLE(OILPAN) 354 #if ENABLE(OILPAN)
355 visitor->trace(m_console); 355 visitor->trace(m_console);
356 visitor->trace(m_location); 356 visitor->trace(m_location);
357 visitor->trace(m_navigator); 357 visitor->trace(m_navigator);
358 visitor->trace(m_workerInspectorController); 358 visitor->trace(m_workerInspectorController);
359 visitor->trace(m_eventQueue); 359 visitor->trace(m_eventQueue);
360 visitor->trace(m_workerClients); 360 visitor->trace(m_workerClients);
361 visitor->trace(m_messageStorage); 361 visitor->trace(m_messageStorage);
362 visitor->trace(m_pendingMessages);
362 HeapSupplementable<WorkerGlobalScope>::trace(visitor); 363 HeapSupplementable<WorkerGlobalScope>::trace(visitor);
363 #endif 364 #endif
364 ExecutionContext::trace(visitor); 365 ExecutionContext::trace(visitor);
365 EventTargetWithInlineData::trace(visitor); 366 EventTargetWithInlineData::trace(visitor);
366 } 367 }
367 368
368 } // namespace blink 369 } // namespace blink
OLDNEW
« no previous file with comments | « Source/core/workers/WorkerGlobalScope.h ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698