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

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

Issue 1018043002: Oilpan: fix build after r192098. (Closed) Base URL: svn://svn.chromium.org/blink/trunk
Patch Set: non-oilpan tidy 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 | Annotate | Revision Log
« no previous file with comments | « Source/core/inspector/InspectorOverlayImpl.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) 2011 Google Inc. All rights reserved. 2 * Copyright (C) 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 5 * modification, are permitted provided that the following conditions
6 * are met: 6 * are met:
7 * 7 *
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 96 matching lines...) Expand 10 before | Expand all | Expand 10 after
107 } 107 }
108 108
109 DEFINE_TRACE(InspectorOverlayImpl) 109 DEFINE_TRACE(InspectorOverlayImpl)
110 { 110 {
111 visitor->trace(m_page); 111 visitor->trace(m_page);
112 visitor->trace(m_highlightNode); 112 visitor->trace(m_highlightNode);
113 visitor->trace(m_eventTargetNode); 113 visitor->trace(m_eventTargetNode);
114 visitor->trace(m_overlayPage); 114 visitor->trace(m_overlayPage);
115 visitor->trace(m_overlayHost); 115 visitor->trace(m_overlayHost);
116 visitor->trace(m_listener); 116 visitor->trace(m_listener);
117 InspectorOverlay::trace(visitor);
117 } 118 }
118 119
119 void InspectorOverlayImpl::paint(GraphicsContext& context) 120 void InspectorOverlayImpl::paint(GraphicsContext& context)
120 { 121 {
121 if (isEmpty()) 122 if (isEmpty())
122 return; 123 return;
123 FrameView* view = toLocalFrame(overlayPage()->mainFrame())->view(); 124 FrameView* view = toLocalFrame(overlayPage()->mainFrame())->view();
124 ASSERT(!view->needsLayout()); 125 ASSERT(!view->needsLayout());
125 view->paint(&context, IntRect(0, 0, view->width(), view->height())); 126 view->paint(&context, IntRect(0, 0, view->width(), view->height()));
126 } 127 }
(...skipping 306 matching lines...) Expand 10 before | Expand all | Expand 10 after
433 if (!m_suspendCount++) 434 if (!m_suspendCount++)
434 freePage(); 435 freePage();
435 } 436 }
436 437
437 void InspectorOverlayImpl::resumeUpdates() 438 void InspectorOverlayImpl::resumeUpdates()
438 { 439 {
439 --m_suspendCount; 440 --m_suspendCount;
440 } 441 }
441 442
442 } // namespace blink 443 } // namespace blink
OLDNEW
« no previous file with comments | « Source/core/inspector/InspectorOverlayImpl.h ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698