summaryrefslogtreecommitdiffstats
path: root/remoting
diff options
context:
space:
mode:
authordmaclach@chromium.org <dmaclach@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98>2010-06-30 22:38:34 +0000
committerdmaclach@chromium.org <dmaclach@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98>2010-06-30 22:38:34 +0000
commita59a8e0ba416724167265b4147aef6b44dcbc801 (patch)
treed116ed689695c5a801ceb8a6d17e4e2bb172450d /remoting
parent591766b91bc6482d9a7d5505cb848f6ff972b86b (diff)
downloadchromium_src-a59a8e0ba416724167265b4147aef6b44dcbc801.zip
chromium_src-a59a8e0ba416724167265b4147aef6b44dcbc801.tar.gz
chromium_src-a59a8e0ba416724167265b4147aef6b44dcbc801.tar.bz2
Fixed up some comments while I was looking at these files.
BUG=none TEST=none Review URL: http://codereview.chromium.org/2818037 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@51303 0039d316-1c4b-4281-b951-d872f2087c98
Diffstat (limited to 'remoting')
-rw-r--r--remoting/base/protocol_util.cc2
-rw-r--r--remoting/client/x11_client.cc2
-rw-r--r--remoting/client/x11_view.cc8
3 files changed, 6 insertions, 6 deletions
diff --git a/remoting/base/protocol_util.cc b/remoting/base/protocol_util.cc
index 508ae44a..6532230d 100644
--- a/remoting/base/protocol_util.cc
+++ b/remoting/base/protocol_util.cc
@@ -25,7 +25,7 @@ scoped_refptr<media::DataBuffer> SerializeAndFrameMessage(
}
int GetBytesPerPixel(PixelFormat format) {
- // Note: The order is important here for performace. This is sorted from the
+ // Note: The order is important here for performance. This is sorted from the
// most common to the less common (PixelFormatAscii is mostly used
// just for testing).
switch (format) {
diff --git a/remoting/client/x11_client.cc b/remoting/client/x11_client.cc
index 4b111e9..eeda70d 100644
--- a/remoting/client/x11_client.cc
+++ b/remoting/client/x11_client.cc
@@ -140,7 +140,7 @@ class X11Client : public HostConnection::HostEventCallback {
// Saves the dimension and resize the window.
width_ = msg->init_client().width();
height_ = msg->init_client().height();
- LOG(INFO) << "Init client receievd: " << width_ << "x" << height_;
+ LOG(INFO) << "Init client received: " << width_ << "x" << height_;
XResizeWindow(display_, window_, width_, height_);
// Now construct the X11View that renders the remote desktop.
diff --git a/remoting/client/x11_view.cc b/remoting/client/x11_view.cc
index eb16acc..d380cd2 100644
--- a/remoting/client/x11_view.cc
+++ b/remoting/client/x11_view.cc
@@ -33,8 +33,8 @@ void X11View::Paint() {
if (!frame_)
InitPaintTarget();
- // Upload the image to a pixmap. And then creats a picture from the pixmap
- // and composite the picture over the picture represending the window.
+ // Upload the image to a pixmap. And then create a picture from the pixmap
+ // and composite the picture over the picture representing the window.
// Creates a XImage.
XImage image;
@@ -145,9 +145,9 @@ void X11View::HandleEndUpdateStream(HostMessage* msg) {
void X11View::OnPartialDecodeDone() {
// Decoder has produced some output so schedule a paint. We'll get a Paint()
- // call in the short future. Note that we can get UpdateStreamPacket during
+ // call in the near future. Note that we can get UpdateStreamPacket during
// this short period of time and we will perform decode again and the
- // information of updated rects will be lost.
+ // information in updated rects will be lost.
// There are several ways to solve this problem.
// 1. Merge the updated rects and perform one paint.
// 2. Queue the updated rects and perform two paints.