diff options
-rw-r--r-- | remoting/base/protocol_util.cc | 2 | ||||
-rw-r--r-- | remoting/client/x11_client.cc | 2 | ||||
-rw-r--r-- | remoting/client/x11_view.cc | 8 |
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. |