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

Side by Side Diff: android_webview/browser/child_frame.cc

Issue 2928823004: Fix header guard and namespace in android_webview (Closed)
Patch Set: Fix header guard and namespace in android_webview Created 3 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
OLDNEW
1 // Copyright 2015 The Chromium Authors. All rights reserved. 1 // Copyright 2015 The Chromium Authors. All rights reserved.
2 // Use of this source code is governed by a BSD-style license that can be 2 // Use of this source code is governed by a BSD-style license that can be
3 // found in the LICENSE file. 3 // found in the LICENSE file.
4 4
5 #include "android_webview/browser/child_frame.h" 5 #include "android_webview/browser/child_frame.h"
6 6
7 #include <utility> 7 #include <utility>
8 8
9 #include "base/trace_event/trace_event.h" 9 #include "base/trace_event/trace_event.h"
10 #include "cc/output/compositor_frame.h" 10 #include "cc/output/compositor_frame.h"
(...skipping 29 matching lines...) Expand all
40 TRACE_EVENT0("android_webview", "GetFrame"); 40 TRACE_EVENT0("android_webview", "GetFrame");
41 DCHECK(!frame); 41 DCHECK(!frame);
42 auto frame_ptr = frame_future->GetFrame(); 42 auto frame_ptr = frame_future->GetFrame();
43 if (frame_ptr) { 43 if (frame_ptr) {
44 compositor_frame_sink_id = frame_ptr->compositor_frame_sink_id; 44 compositor_frame_sink_id = frame_ptr->compositor_frame_sink_id;
45 frame = std::move(frame_ptr->frame); 45 frame = std::move(frame_ptr->frame);
46 } 46 }
47 frame_future = nullptr; 47 frame_future = nullptr;
48 } 48 }
49 49
50 } // namespace webview 50 } // namespace android_webview
OLDNEW
« no previous file with comments | « android_webview/browser/child_frame.h ('k') | android_webview/browser/compositor_frame_consumer.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698