Catch Exception for Intent.parseUri instead of URISyntaxException
[chromium-blink-merge.git] / android_webview / browser / child_frame.cc
blobf516edce8da20156671fe8f89614dc98db1458b2
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
3 // found in the LICENSE file.
5 #include "android_webview/browser/child_frame.h"
7 #include "cc/output/compositor_frame.h"
9 namespace android_webview {
11 ChildFrame::ChildFrame(scoped_ptr<cc::CompositorFrame> frame,
12 const gfx::Rect& viewport_rect_for_tile_priority,
13 const gfx::Transform& transform_for_tile_priority,
14 bool offscreen_pre_raster,
15 bool is_layer)
16 : frame(frame.Pass()),
17 viewport_rect_for_tile_priority(viewport_rect_for_tile_priority),
18 transform_for_tile_priority(transform_for_tile_priority),
19 offscreen_pre_raster(offscreen_pre_raster),
20 is_layer(is_layer) {
23 ChildFrame::~ChildFrame() {
26 } // namespace webview