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

Side by Side Diff: Source/core/inspector/InspectorDebuggerAgent.cpp

Issue 1237633003: Oilpan: fix build after r198789. (Closed) Base URL: https://chromium.googlesource.com/chromium/blink.git@master
Patch Set: Created 5 years, 5 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 | « no previous file | 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) 2010 Apple Inc. All rights reserved. 2 * Copyright (C) 2010 Apple Inc. All rights reserved.
3 * Copyright (C) 2013 Google Inc. All rights reserved. 3 * Copyright (C) 2013 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 * 8 *
9 * 1. Redistributions of source code must retain the above copyright 9 * 1. Redistributions of source code must retain the above copyright
10 * notice, this list of conditions and the following disclaimer. 10 * notice, this list of conditions and the following disclaimer.
(...skipping 1716 matching lines...) Expand 10 before | Expand all | Expand 10 after
1727 1727
1728 void InspectorDebuggerAgent::resetModifiedSources() 1728 void InspectorDebuggerAgent::resetModifiedSources()
1729 { 1729 {
1730 m_editedScripts.clear(); 1730 m_editedScripts.clear();
1731 } 1731 }
1732 1732
1733 DEFINE_TRACE(InspectorDebuggerAgent) 1733 DEFINE_TRACE(InspectorDebuggerAgent)
1734 { 1734 {
1735 #if ENABLE(OILPAN) 1735 #if ENABLE(OILPAN)
1736 visitor->trace(m_injectedScriptManager); 1736 visitor->trace(m_injectedScriptManager);
1737 visitor->trace(m_debugger);
1737 visitor->trace(m_listener); 1738 visitor->trace(m_listener);
1738 visitor->trace(m_v8AsyncCallTracker); 1739 visitor->trace(m_v8AsyncCallTracker);
1739 visitor->trace(m_promiseTracker); 1740 visitor->trace(m_promiseTracker);
1740 visitor->trace(m_asyncOperations); 1741 visitor->trace(m_asyncOperations);
1741 visitor->trace(m_currentAsyncCallChain); 1742 visitor->trace(m_currentAsyncCallChain);
1742 visitor->trace(m_asyncCallTrackingListeners); 1743 visitor->trace(m_asyncCallTrackingListeners);
1743 #endif 1744 #endif
1744 InspectorBaseAgent::trace(visitor); 1745 InspectorBaseAgent::trace(visitor);
1745 } 1746 }
1746 1747
1747 PassRefPtr<TypeBuilder::Debugger::ExceptionDetails> InspectorDebuggerAgent::crea teExceptionDetails(v8::Isolate* isolate, v8::Local<v8::Message> message) 1748 PassRefPtr<TypeBuilder::Debugger::ExceptionDetails> InspectorDebuggerAgent::crea teExceptionDetails(v8::Isolate* isolate, v8::Local<v8::Message> message)
1748 { 1749 {
1749 RefPtr<ExceptionDetails> exceptionDetails = ExceptionDetails::create().setTe xt(toCoreStringWithUndefinedOrNullCheck(message->Get())); 1750 RefPtr<ExceptionDetails> exceptionDetails = ExceptionDetails::create().setTe xt(toCoreStringWithUndefinedOrNullCheck(message->Get()));
1750 exceptionDetails->setLine(message->GetLineNumber()); 1751 exceptionDetails->setLine(message->GetLineNumber());
1751 exceptionDetails->setColumn(message->GetStartColumn()); 1752 exceptionDetails->setColumn(message->GetStartColumn());
1752 v8::Local<v8::StackTrace> messageStackTrace = message->GetStackTrace(); 1753 v8::Local<v8::StackTrace> messageStackTrace = message->GetStackTrace();
1753 if (!messageStackTrace.IsEmpty() && messageStackTrace->GetFrameCount() > 0) 1754 if (!messageStackTrace.IsEmpty() && messageStackTrace->GetFrameCount() > 0)
1754 exceptionDetails->setStackTrace(createScriptCallStack(isolate, messageSt ackTrace, messageStackTrace->GetFrameCount())->buildInspectorArray()); 1755 exceptionDetails->setStackTrace(createScriptCallStack(isolate, messageSt ackTrace, messageStackTrace->GetFrameCount())->buildInspectorArray());
1755 return exceptionDetails.release(); 1756 return exceptionDetails.release();
1756 } 1757 }
1757 1758
1758 } // namespace blink 1759 } // namespace blink
OLDNEW
« no previous file with comments | « no previous file | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698