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

Side by Side Diff: third_party/WebKit/Source/web/WebFrameWidgetImpl.cpp

Issue 2056833003: Remove unnecessary use of CrossThreadPersistent<>. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Created 4 years, 6 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 | « third_party/WebKit/Source/web/WebFrameWidgetImpl.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) 2014 Google Inc. All rights reserved. 2 * Copyright (C) 2014 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 WebFrameWidgetImpl::~WebFrameWidgetImpl() 116 WebFrameWidgetImpl::~WebFrameWidgetImpl()
117 { 117 {
118 } 118 }
119 119
120 DEFINE_TRACE(WebFrameWidgetImpl) 120 DEFINE_TRACE(WebFrameWidgetImpl)
121 { 121 {
122 visitor->trace(m_localRoot); 122 visitor->trace(m_localRoot);
123 visitor->trace(m_mouseCaptureNode); 123 visitor->trace(m_mouseCaptureNode);
124 visitor->trace(m_mutator);
124 } 125 }
125 126
126 // WebWidget ------------------------------------------------------------------ 127 // WebWidget ------------------------------------------------------------------
127 128
128 void WebFrameWidgetImpl::close() 129 void WebFrameWidgetImpl::close()
129 { 130 {
130 WebDevToolsAgentImpl::webFrameWidgetImplClosed(this); 131 WebDevToolsAgentImpl::webFrameWidgetImplClosed(this);
131 DCHECK(allInstances().contains(this)); 132 DCHECK(allInstances().contains(this));
132 allInstances().remove(this); 133 allInstances().remove(this);
133 134
(...skipping 992 matching lines...) Expand 10 before | Expand all | Expand 10 after
1126 1127
1127 HitTestResult WebFrameWidgetImpl::hitTestResultForRootFramePos(const IntPoint& p osInRootFrame) 1128 HitTestResult WebFrameWidgetImpl::hitTestResultForRootFramePos(const IntPoint& p osInRootFrame)
1128 { 1129 {
1129 IntPoint docPoint(m_localRoot->frame()->view()->rootFrameToContents(posInRoo tFrame)); 1130 IntPoint docPoint(m_localRoot->frame()->view()->rootFrameToContents(posInRoo tFrame));
1130 HitTestResult result = m_localRoot->frame()->eventHandler().hitTestResultAtP oint(docPoint, HitTestRequest::ReadOnly | HitTestRequest::Active); 1131 HitTestResult result = m_localRoot->frame()->eventHandler().hitTestResultAtP oint(docPoint, HitTestRequest::ReadOnly | HitTestRequest::Active);
1131 result.setToShadowHostIfInUserAgentShadowRoot(); 1132 result.setToShadowHostIfInUserAgentShadowRoot();
1132 return result; 1133 return result;
1133 } 1134 }
1134 1135
1135 } // namespace blink 1136 } // namespace blink
OLDNEW
« no previous file with comments | « third_party/WebKit/Source/web/WebFrameWidgetImpl.h ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698