WebKit Bugzilla
New
Browse
Log In
×
Sign in with GitHub
or
Remember my login
Create Account
·
Forgot Password
Forgotten password account recovery
RESOLVED FIXED
30980
Cleanup in wx code: avoid unnecessary wxString::mb_str() calls
https://bugs.webkit.org/show_bug.cgi?id=30980
Summary
Cleanup in wx code: avoid unnecessary wxString::mb_str() calls
Vadim Zeitlin
Reported
2009-10-31 12:44:03 PDT
Created
attachment 42258
[details]
Patch removing unnecessary wxString::mb_str() calls While debugging the
bug 30977
I noticed that in a few places in the code there were ugly-looking explicit conversions between wxString and WebCore::String. They seem to be unnecessary as there is already an implicit ctor in String from wxString so IMO we should be simply using it because just "baseUrl" looks much better than "static_cast<const char*>(baseUrl.mb_str(wxConvUTF8))". So I attach a patch which simply removes these calls.
Attachments
Patch removing unnecessary wxString::mb_str() calls
(3.47 KB, patch)
2009-10-31 12:44 PDT
,
Vadim Zeitlin
eric
: review+
eric
: commit-queue-
Details
Formatted Diff
Diff
Same patch but with "Review" lines preserved.
(3.55 KB, patch)
2009-11-04 04:07 PST
,
Vadim Zeitlin
no flags
Details
Formatted Diff
Diff
Show Obsolete
(1)
View All
Add attachment
proposed patch, testcase, etc.
Eric Seidel (no email)
Comment 1
2009-11-03 12:12:40 PST
Comment on
attachment 42258
[details]
Patch removing unnecessary wxString::mb_str() calls Please don't remove the Reviewed by NOBODY (OOPS!). line. That's used by our scripts when landing to fill in who reviewed the patch. OTherwise this looks fine. You can post a new patch for use with the commit-queue, or find someone to land this manually for you.
Vadim Zeitlin
Comment 2
2009-11-04 04:07:28 PST
Created
attachment 42476
[details]
Same patch but with "Review" lines preserved. Sorry for removing these lines, I didn't realize they were necessary. I'm resubmitting exactly the same patch but amended to preserve these lines untouched.
WebKit Commit Bot
Comment 3
2009-11-04 10:14:04 PST
Comment on
attachment 42476
[details]
Same patch but with "Review" lines preserved. Clearing flags on attachment: 42476 Committed
r50516
: <
http://trac.webkit.org/changeset/50516
>
WebKit Commit Bot
Comment 4
2009-11-04 10:14:08 PST
All reviewed patches have been landed. Closing bug.
Note
You need to
log in
before you can comment on or make changes to this bug.
Top of Page
Format For Printing
XML
Clone This Bug