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

Unified Diff: gears/database2/result_set2.cc

Issue 981: reordered methods in compliance with convention (Closed) SVN Base: http://google-gears.googlecode.com/svn/contrib/dimitri.glazkov/database2/
Patch Set: Created 4 months ago
Use n/p to move between diff chunks; N/P to move between comments. Please Sign in to add in-line comments.
Jump to:
View side by-side-diff with in-line comments
Download patch
« no previous file | no next file » | Expand Comments ('e') | Collapse Comments ('c') | Hide Comments ('s')
Index: gears/database2/result_set2.cc
===================================================================
--- gears/database2/result_set2.cc (revision 1609)
+++ gears/database2/result_set2.cc (working copy)
@@ -39,6 +39,15 @@
RegisterProperty("rows", &Database2ResultSet::GetRows, NULL);
}
+
+// static
+bool Database2ResultSet::Create(const ModuleImplBaseClass *sibling,
+ scoped_refptr<Database2ResultSet> *instance) {
+ assert(instance);
+ return CreateModule<Database2ResultSet>(sibling->GetJsRunner(), instance)
+ && instance->get()->InitBaseFromSibling(sibling);
+}
+
void Database2ResultSet::GetInsertId(JsCallContext *context) {
// stub
context->SetReturnValue(JSPARAM_INT, 0);
@@ -53,10 +62,3 @@
// stub
// return nothing for now
}
-
-bool Database2ResultSet::Create(const ModuleImplBaseClass *sibling,
- scoped_refptr<Database2ResultSet> *instance) {
- assert(instance);
- return CreateModule<Database2ResultSet>(sibling->GetJsRunner(), instance)
- && instance->get()->InitBaseFromSibling(sibling);
-}
« no previous file | no next file »

Powered by Google App Engine
This is Rietveld r305