Rietveld Code Review Tool
Help | Bug tracker | Discussion group | Source code | Sign in
(705)

Issue 2009042: Added runtime checks for GetClientRect errors....

Can't Edit
Can't Publish+Mail
Start Review
Created:
13 years, 8 months ago by apatrick1
Modified:
13 years, 8 months ago
Reviewers:
dgkoch
CC:
angleproject-review_googlegroups.com
Base URL:
http://angleproject.googlecode.com/svn/trunk/
Visibility:
Public.

Description

Added runtime checks for GetClientRect errors. I noticed that if the window handle is invalid, the resulting rect will be uninitialized. This change makes it fail immediately.

Patch Set 1 #

Total comments: 4

Patch Set 2 : '' #

Unified diffs Side-by-side diffs Delta from patch set Stats (+11 lines, -2 lines) Patch
M src/libEGL/Surface.cpp View 1 2 chunks +11 lines, -2 lines 0 comments Download

Messages

Total messages: 4
apatrick1
Hi Daniel, Can you take a look at this patch when you get some time? ...
13 years, 8 months ago (2010-08-18 00:02:37 UTC) #1
dgkoch
Have you actually managed to get into a situation with an invalid window handle? I ...
13 years, 8 months ago (2010-08-23 19:01:16 UTC) #2
apatrick1
Thanks Daniel, Responses inline... Al http://codereview.appspot.com/2009042/diff/1/2 File src/libEGL/Surface.cpp (right): http://codereview.appspot.com/2009042/diff/1/2#newcode97 src/libEGL/Surface.cpp:97: return error(EGL_FALSE); On 2010/08/23 ...
13 years, 8 months ago (2010-08-23 22:03:07 UTC) #3
dgkoch
13 years, 8 months ago (2010-08-23 22:55:40 UTC) #4
Thanks for clarifying.

This version looks better. Approved.
Sign in to reply to this message.

Powered by Google App Engine
RSS Feeds Recent Issues | This issue
This is Rietveld f62528b