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

Side by Side Diff: Source/core/dom/ExecutionContext.cpp

Issue 463433002: Oilpan: fix build after r179934. (Closed) Base URL: https://chromium.googlesource.com/chromium/blink.git@master
Patch Set: Created 6 years, 4 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/dom/ExecutionContext.h ('k') | Source/core/dom/ExecutionContextClient.h » ('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) 2012 Google Inc. All Rights Reserved. 3 * Copyright (C) 2012 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 140 matching lines...) Expand 10 before | Expand all | Expand 10 after
151 return; 151 return;
152 152
153 for (size_t i = 0; i < m_pendingExceptions->size(); i++) { 153 for (size_t i = 0; i < m_pendingExceptions->size(); i++) {
154 PendingException* e = m_pendingExceptions->at(i).get(); 154 PendingException* e = m_pendingExceptions->at(i).get();
155 if (m_client) 155 if (m_client)
156 m_client->logExceptionToConsole(e->m_errorMessage, e->m_sourceURL, e ->m_lineNumber, e->m_columnNumber, e->m_callStack); 156 m_client->logExceptionToConsole(e->m_errorMessage, e->m_sourceURL, e ->m_lineNumber, e->m_columnNumber, e->m_callStack);
157 } 157 }
158 m_pendingExceptions.clear(); 158 m_pendingExceptions.clear();
159 } 159 }
160 160
161 void ExecutionContext::addConsoleMessage(PassRefPtr<ConsoleMessage> consoleMessa ge) 161 void ExecutionContext::addConsoleMessage(PassRefPtrWillBeRawPtr<ConsoleMessage> consoleMessage)
162 { 162 {
163 if (!m_client) 163 if (!m_client)
164 return; 164 return;
165 m_client->addMessage(consoleMessage); 165 m_client->addMessage(consoleMessage);
166 } 166 }
167 167
168 bool ExecutionContext::dispatchErrorEvent(PassRefPtrWillBeRawPtr<ErrorEvent> eve nt, AccessControlStatus corsStatus) 168 bool ExecutionContext::dispatchErrorEvent(PassRefPtrWillBeRawPtr<ErrorEvent> eve nt, AccessControlStatus corsStatus)
169 { 169 {
170 if (!m_client) 170 if (!m_client)
171 return false; 171 return false;
(...skipping 153 matching lines...) Expand 10 before | Expand all | Expand 10 after
325 325
326 void ExecutionContext::trace(Visitor* visitor) 326 void ExecutionContext::trace(Visitor* visitor)
327 { 327 {
328 #if ENABLE(OILPAN) 328 #if ENABLE(OILPAN)
329 visitor->trace(m_pendingExceptions); 329 visitor->trace(m_pendingExceptions);
330 #endif 330 #endif
331 WillBeHeapSupplementable<blink::ExecutionContext>::trace(visitor); 331 WillBeHeapSupplementable<blink::ExecutionContext>::trace(visitor);
332 } 332 }
333 333
334 } // namespace blink 334 } // namespace blink
OLDNEW
« no previous file with comments | « Source/core/dom/ExecutionContext.h ('k') | Source/core/dom/ExecutionContextClient.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698