Description[sql] Refactor to remove use of const_cast<>.
The comments in these cases used incorrect reasoning for why the
const_cast<> was safe. Whether the SQL statements modify the database
is irrelevant. Add an internal helper to allow them to correctly
accomplish things in a const situation.
BUG=none
TEST=none
Committed: http://src.chromium.org/viewvc/chrome?view=rev&revision=148031
Patch Set 1 #Patch Set 2 : Remove accidentally-remaining change. #
Total comments: 6
Patch Set 3 : Elaborate on GetUntrackedStatement() usage. #Messages
Total messages: 7 (0 generated)
|