RenderText: handle center-aligned text in UpdateCachedBoundsAndOffset()
[chromium-blink-merge.git] / content / common / pepper_renderer_instance_data.cc
blob6fda4bfd69f4ecf87002721a85d40edf887ce416
1 // Copyright (c) 2012 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 "content/common/pepper_renderer_instance_data.h"
7 namespace content {
9 PepperRendererInstanceData::PepperRendererInstanceData()
10 : render_process_id(0),
11 render_frame_id(0) {
14 PepperRendererInstanceData::PepperRendererInstanceData(
15 int render_process,
16 int render_frame,
17 const GURL& document,
18 const GURL& plugin)
19 : render_process_id(render_process),
20 render_frame_id(render_frame),
21 document_url(document),
22 plugin_url(plugin) {
25 PepperRendererInstanceData::~PepperRendererInstanceData() {
28 } // namespace content