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

Side by Side Diff: android_webview/browser/parent_compositor_draw_constraints.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 2014 The Chromium Authors. All rights reserved. 1 // Copyright 2014 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/parent_compositor_draw_constraints.h" 5 #include "android_webview/browser/parent_compositor_draw_constraints.h"
6 6
7 #include "android_webview/browser/child_frame.h" 7 #include "android_webview/browser/child_frame.h"
8 8
9 namespace android_webview { 9 namespace android_webview {
10 10
(...skipping 17 matching lines...) Expand all
28 } 28 }
29 29
30 // Viewport for tile priority does not depend on surface rect in this case. 30 // Viewport for tile priority does not depend on surface rect in this case.
31 if (frame.offscreen_pre_raster || is_layer) 31 if (frame.offscreen_pre_raster || is_layer)
32 return false; 32 return false;
33 33
34 // Workaround for corner case. See crbug.com/417479. 34 // Workaround for corner case. See crbug.com/417479.
35 return frame.viewport_rect_for_tile_priority_empty && !surface_rect_empty; 35 return frame.viewport_rect_for_tile_priority_empty && !surface_rect_empty;
36 } 36 }
37 37
38 } // namespace webview 38 } // namespace android_webview
OLDNEW
« no previous file with comments | « android_webview/browser/net/input_stream_reader.h ('k') | android_webview/browser/permission/aw_permission_request.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698