Chromium Code Reviews| Index: content/browser/frame_host/frame_tree_node.cc |
| diff --git a/content/browser/frame_host/frame_tree_node.cc b/content/browser/frame_host/frame_tree_node.cc |
| index 845aecea62afc5945311f283f029c8d8b6504682..e486ede9f7fca0b91016bfccad6c1998b5c03ce5 100644 |
| --- a/content/browser/frame_host/frame_tree_node.cc |
| +++ b/content/browser/frame_host/frame_tree_node.cc |
| @@ -16,6 +16,9 @@ |
| namespace content { |
| +double FrameTreeNode::kNotStartedLoadingProgress = 0.0; |
|
Charlie Reis
2015/02/20 23:42:12
const double
Fabrice (no longer in Chrome)
2015/02/23 20:02:06
Done.
|
| +double FrameTreeNode::kMinimumLoadingProgress = 0.1; |
| +double FrameTreeNode::kDoneLoadingProgress = 1.0; |
| int64 FrameTreeNode::next_frame_tree_node_id_ = 1; |
| FrameTreeNode::FrameTreeNode(FrameTree* frame_tree, |
| @@ -35,7 +38,8 @@ FrameTreeNode::FrameTreeNode(FrameTree* frame_tree, |
| frame_tree_node_id_(next_frame_tree_node_id_++), |
| parent_(NULL), |
| replication_state_(name), |
| - is_loading_(false) { |
| + is_loading_(false), |
| + loading_progress_(kNotStartedLoadingProgress) { |
| } |
| FrameTreeNode::~FrameTreeNode() { |