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

Side by Side Diff: Source/web/WebDevToolsAgentImpl.cpp

Issue 1001603002: Oilpan: fix build after r191713 (4c9f53fdbb). (Closed) Base URL: https://chromium.googlesource.com/chromium/blink.git@master
Patch Set: compile fix Created 5 years, 9 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/bindings/core/v8/V8PerIsolateData.cpp ('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) 2010-2011 Google Inc. All rights reserved. 2 * Copyright (C) 2010-2011 Google Inc. All rights reserved.
3 * 3 *
4 * Redistribution and use in source and binary forms, with or without 4 * Redistribution and use in source and binary forms, with or without
5 * modification, are permitted provided that the following conditions are 5 * modification, are permitted provided that the following conditions are
6 * met: 6 * met:
7 * 7 *
8 * * Redistributions of source code must retain the above copyright 8 * * 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 * * Redistributions in binary form must reproduce the above 10 * * Redistributions in binary form must reproduce the above
(...skipping 103 matching lines...) Expand 10 before | Expand all | Expand 10 after
114 } 114 }
115 115
116 static void ensurePageScriptDebugServerCreated(WebDevToolsAgentClient* clien t) 116 static void ensurePageScriptDebugServerCreated(WebDevToolsAgentClient* clien t)
117 { 117 {
118 if (s_instance) 118 if (s_instance)
119 return; 119 return;
120 OwnPtr<ClientMessageLoopAdapter> instance = adoptPtr(new ClientMessageLo opAdapter(adoptPtr(client->createClientMessageLoop()))); 120 OwnPtr<ClientMessageLoopAdapter> instance = adoptPtr(new ClientMessageLo opAdapter(adoptPtr(client->createClientMessageLoop())));
121 s_instance = instance.get(); 121 s_instance = instance.get();
122 v8::Isolate* isolate = V8PerIsolateData::mainThreadIsolate(); 122 v8::Isolate* isolate = V8PerIsolateData::mainThreadIsolate();
123 V8PerIsolateData* data = V8PerIsolateData::from(isolate); 123 V8PerIsolateData* data = V8PerIsolateData::from(isolate);
124 data->setScriptDebugServer(adoptPtr(new PageScriptDebugServer(instance.r elease(), isolate))); 124 data->setScriptDebugServer(adoptPtrWillBeNoop(new PageScriptDebugServer( instance.release(), isolate)));
125 } 125 }
126 126
127 static void inspectedViewClosed(WebViewImpl* view) 127 static void inspectedViewClosed(WebViewImpl* view)
128 { 128 {
129 if (s_instance) 129 if (s_instance)
130 s_instance->m_frozenViews.remove(view); 130 s_instance->m_frozenViews.remove(view);
131 } 131 }
132 132
133 static void didNavigate() 133 static void didNavigate()
134 { 134 {
(...skipping 769 matching lines...) Expand 10 before | Expand all | Expand 10 after
904 if (!InspectorBackendDispatcher::getCommandName(message, &commandName)) 904 if (!InspectorBackendDispatcher::getCommandName(message, &commandName))
905 return false; 905 return false;
906 return commandName == InspectorBackendDispatcher::commandName(InspectorBacke ndDispatcher::kDebugger_pauseCmd) 906 return commandName == InspectorBackendDispatcher::commandName(InspectorBacke ndDispatcher::kDebugger_pauseCmd)
907 || commandName == InspectorBackendDispatcher::commandName(InspectorBacke ndDispatcher::kDebugger_setBreakpointCmd) 907 || commandName == InspectorBackendDispatcher::commandName(InspectorBacke ndDispatcher::kDebugger_setBreakpointCmd)
908 || commandName == InspectorBackendDispatcher::commandName(InspectorBacke ndDispatcher::kDebugger_setBreakpointByUrlCmd) 908 || commandName == InspectorBackendDispatcher::commandName(InspectorBacke ndDispatcher::kDebugger_setBreakpointByUrlCmd)
909 || commandName == InspectorBackendDispatcher::commandName(InspectorBacke ndDispatcher::kDebugger_removeBreakpointCmd) 909 || commandName == InspectorBackendDispatcher::commandName(InspectorBacke ndDispatcher::kDebugger_removeBreakpointCmd)
910 || commandName == InspectorBackendDispatcher::commandName(InspectorBacke ndDispatcher::kDebugger_setBreakpointsActiveCmd); 910 || commandName == InspectorBackendDispatcher::commandName(InspectorBacke ndDispatcher::kDebugger_setBreakpointsActiveCmd);
911 } 911 }
912 912
913 } // namespace blink 913 } // namespace blink
OLDNEW
« no previous file with comments | « Source/bindings/core/v8/V8PerIsolateData.cpp ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698