summaryrefslogtreecommitdiffstats
path: root/chrome/renderer/render_widget.cc
diff options
context:
space:
mode:
Diffstat (limited to 'chrome/renderer/render_widget.cc')
-rw-r--r--chrome/renderer/render_widget.cc10
1 files changed, 3 insertions, 7 deletions
diff --git a/chrome/renderer/render_widget.cc b/chrome/renderer/render_widget.cc
index 03fbbd7..343db541 100644
--- a/chrome/renderer/render_widget.cc
+++ b/chrome/renderer/render_widget.cc
@@ -1,4 +1,4 @@
-// Copyright (c) 2010 The Chromium Authors. All rights reserved.
+// Copyright (c) 2009 The Chromium Authors. All rights reserved.
// Use of this source code is governed by a BSD-style license that can be
// found in the LICENSE file.
@@ -15,7 +15,6 @@
#include "chrome/common/render_messages.h"
#include "chrome/common/transport_dib.h"
#include "chrome/renderer/render_process.h"
-#include "chrome/renderer/render_thread.h"
#include "skia/ext/platform_canvas.h"
#include "third_party/skia/include/core/SkShader.h"
#include "third_party/WebKit/WebKit/chromium/public/WebCursorInfo.h"
@@ -271,8 +270,8 @@ void RenderWidget::OnUpdateRectAck() {
current_paint_buf_ = NULL;
}
- // Notify subclasses.
- DidFlushPaint();
+ // Notify subclasses
+ DidPaint();
// Continue painting if necessary...
CallDoDeferredUpdate();
@@ -498,9 +497,6 @@ void RenderWidget::DoDeferredUpdate() {
next_paint_flags_ = 0;
UpdateIME();
-
- // Let derived classes know we've painted.
- DidInitiatePaint();
}
///////////////////////////////////////////////////////////////////////////////